diff options
author | Michal Rokos <m.rokos@sh.cvut.cz> | 2001-12-13 18:08:58 +0000 |
---|---|---|
committer | Michal Rokos <m.rokos@sh.cvut.cz> | 2001-12-13 18:08:58 +0000 |
commit | 28e4b12c6ab858dc0e973b623d15d50a5ab043ae (patch) | |
tree | ef34d0d6bd966848814e25a883a63e706817d04b /openssl_missing.c | |
parent | 1a069b3b70d564521f7ccd48a208caf17d3943d2 (diff) | |
download | ruby-openssl-history-28e4b12c6ab858dc0e973b623d15d50a5ab043ae.tar.gz |
* added bn methods (thanks to UNKNOWN <oss-ruby@technorama.net>
* simplify ossl_digest sources
Diffstat (limited to 'openssl_missing.c')
-rw-r--r-- | openssl_missing.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openssl_missing.c b/openssl_missing.c index 5d6c0eb..577e1e0 100644 --- a/openssl_missing.c +++ b/openssl_missing.c @@ -12,11 +12,12 @@ #include "openssl_missing.h" /* to hmac.[ch] */ +#ifndef NO_HMAC int HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in) { if (in == NULL) { - /*HMACerr(HMAC_CTX_COPY,HMAC_R_INPUT_NOT_INITIALIZED);*/ + /* HMACerr(HMAC_CTX_COPY,HMAC_R_INPUT_NOT_INITIALIZED); */ return 0; } @@ -24,4 +25,5 @@ HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in) return 1; } +#endif |