diff options
author | Konstantin Osipov <kostja@sun.com> | 2010-04-13 19:04:45 +0400 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2010-04-13 19:04:45 +0400 |
commit | 53fecff1ef023e5020d17dbe38ec8ee4fa499d12 (patch) | |
tree | 30820e84d6b99238e1ecd963c1995382a93a7cf6 /include/mysql_embed.h | |
parent | 04b601a7fe4c87d0b72f8b14c306a14c005846d7 (diff) | |
download | mariadb-git-53fecff1ef023e5020d17dbe38ec8ee4fa499d12.tar.gz |
Backport of:
ChangeSet@1.2703, 2007-12-07 09:35:28-05:00, cmiller@zippy.cornsilk.net +40 -0
Bug#13174: SHA2 function
Patch contributed from Bill Karwin, paper unnumbered CLA in Seattle
Implement SHA2 functions.
Chad added code to make it work with YaSSL. Also, he removed the
(probable) bug of embedded server never using SSL-dependent
functions. (libmysqld/Makefile.am didn't read ANY autoconf defs.)
Function specification:
SHA2( string cleartext, integer hash_length )
-> string hash, or NULL
where hash_length is one of 224, 256, 384, or 512. If either is
NULL or a length is unsupported, then the result is NULL. The
resulting string is always the length of the hash_length parameter
or is NULL.
Include the canonical hash examples from the NIST in the test
results.
---
Polish and address concerns of reviewers.
Diffstat (limited to 'include/mysql_embed.h')
-rw-r--r-- | include/mysql_embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql_embed.h b/include/mysql_embed.h index 0e5a360585e..b26b723381d 100644 --- a/include/mysql_embed.h +++ b/include/mysql_embed.h @@ -24,7 +24,7 @@ /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */ #undef HAVE_PSTACK /* No stacktrace */ -#undef HAVE_OPENSSL +#undef HAVE_DLOPEN /* No udf functions */ #undef HAVE_SMEM /* No shared memory */ #undef HAVE_NDBCLUSTER_DB /* No NDB cluster */ |