aboutsummaryrefslogtreecommitdiffstats
path: root/openssl_missing.h
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-02-13 13:09:26 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-02-13 13:09:26 +0000
commit5e2a679a46e2164f8b38b71132787c3327862957 (patch)
tree4ab99602f4f8adec2a96194abd4a39c48e0fab00 /openssl_missing.h
parent1ad093352e953cabd70c851989ce06edc233d5f4 (diff)
downloadruby-openssl-history-5e2a679a46e2164f8b38b71132787c3327862957.tar.gz
* transition from rb_raise to OSSL_Raise (where possible)
* some mem checks * preliminary DH key support
Diffstat (limited to 'openssl_missing.h')
-rw-r--r--openssl_missing.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/openssl_missing.h b/openssl_missing.h
index 0d273a1..56f1667 100644
--- a/openssl_missing.h
+++ b/openssl_missing.h
@@ -1,7 +1,7 @@
/*
* $Id$
* 'OpenSSL for Ruby' project
- * Copyright (C) 2001 Michal Rokos <m.rokos@sh.cvut.cz>
+ * Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
* All rights reserved.
*/
/*
@@ -26,7 +26,7 @@ extern "C" {
#define PEM_write_bio_DSAPublicKey(bp,x) \
PEM_ASN1_write_bio((int (*)())i2d_DSAPublicKey,\
PEM_STRING_DSA_PUBLIC,\
- bp,(char *)x,NULL,NULL,0,NULL,NULL)
+ bp,(char *)x, NULL, NULL, 0, NULL, NULL)
#endif /* NO_DSA */
/* to x509.h */
@@ -41,9 +41,9 @@ extern "C" {
/* to pkcs7.h */
#define PKCS7_SIGNER_INFO_dup(si) (PKCS7_SIGNER_INFO *)ASN1_dup((int (*)())i2d_PKCS7_SIGNER_INFO, \
- (char *(*)())d2i_PKCS7_SIGNER_INFO,(char *)si)
+ (char *(*)())d2i_PKCS7_SIGNER_INFO, (char *)si)
#define PKCS7_RECIP_INFO_dup(ri) (PKCS7_RECIP_INFO *)ASN1_dup((int (*)())i2d_PKCS7_RECIP_INFO, \
- (char *(*)())d2i_PKCS7_RECIP_INFO,(char *)ri)
+ (char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri)
/* to hmac.[ch] */
#if !defined(NO_HMAC) && !defined(OPENSSL_NO_HMAC)
@@ -54,5 +54,5 @@ int HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
}
#endif
-#endif
+#endif /*_OPENSSL_MISSING_H_*/