~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/algorithm/sha1.cc

  • Committer: Mark Atwood
  • Date: 2010-06-24 03:15:21 UTC
  • mto: (1637.2.4 build)
  • mto: This revision was merged to the branch mainline in revision 1639.
  • Revision ID: me@mark.atwood.name-20100624031521-gafmppfbf5afm68w
new syslog module, with plugins for query log, error message, and SYSLOG() function

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
/*
11
11
 * SHA-1 in C
12
 
 * 
13
 
 * This file is based on public domain code.
14
 
 * Initial source code is in the public domain, 
15
 
 * so clarified by Steve Reid <steve@edmweb.com>
 
12
 * By Steve Reid <steve@edmweb.com>
 
13
 * 100% Public Domain
16
14
 *
17
15
 * Test Vectors (from FIPS PUB 180-1)
18
16
 * "abc"
23
21
 *   34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F
24
22
 */
25
23
 
26
 
#include <config.h>
 
24
#include "config.h"
27
25
#include "sha1.h"
28
26
#include <string.h>
29
27