diff options
author | beck <> | 1999-09-29 04:37:45 +0000 |
---|---|---|
committer | beck <> | 1999-09-29 04:37:45 +0000 |
commit | de8f24ea083384bb66b32ec105dc4743c5663cdf (patch) | |
tree | 1412176ae62a3cab2cf2b0b92150fcbceaac6092 /src/lib/libcrypto/rsa/rsa_saos.c | |
parent | cb929d29896bcb87c2a97417fbd03e50078fc178 (diff) | |
download | openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.gz openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.tar.bz2 openbsd-de8f24ea083384bb66b32ec105dc4743c5663cdf.zip |
OpenSSL 0.9.4 merge
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa_saos.c')
-rw-r--r-- | src/lib/libcrypto/rsa/rsa_saos.c | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/src/lib/libcrypto/rsa/rsa_saos.c b/src/lib/libcrypto/rsa/rsa_saos.c index fb0fae5a43..73b8b0c7ad 100644 --- a/src/lib/libcrypto/rsa/rsa_saos.c +++ b/src/lib/libcrypto/rsa/rsa_saos.c | |||
@@ -58,18 +58,13 @@ | |||
58 | 58 | ||
59 | #include <stdio.h> | 59 | #include <stdio.h> |
60 | #include "cryptlib.h" | 60 | #include "cryptlib.h" |
61 | #include "bn.h" | 61 | #include <openssl/bn.h> |
62 | #include "rsa.h" | 62 | #include <openssl/rsa.h> |
63 | #include "objects.h" | 63 | #include <openssl/objects.h> |
64 | #include "x509.h" | 64 | #include <openssl/x509.h> |
65 | 65 | ||
66 | int RSA_sign_ASN1_OCTET_STRING(type,m,m_len,sigret,siglen,rsa) | 66 | int RSA_sign_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_len, |
67 | int type; | 67 | unsigned char *sigret, unsigned int *siglen, RSA *rsa) |
68 | unsigned char *m; | ||
69 | unsigned int m_len; | ||
70 | unsigned char *sigret; | ||
71 | unsigned int *siglen; | ||
72 | RSA *rsa; | ||
73 | { | 68 | { |
74 | ASN1_OCTET_STRING sig; | 69 | ASN1_OCTET_STRING sig; |
75 | int i,j,ret=1; | 70 | int i,j,ret=1; |
@@ -105,13 +100,9 @@ RSA *rsa; | |||
105 | return(ret); | 100 | return(ret); |
106 | } | 101 | } |
107 | 102 | ||
108 | int RSA_verify_ASN1_OCTET_STRING(dtype, m, m_len, sigbuf, siglen, rsa) | 103 | int RSA_verify_ASN1_OCTET_STRING(int dtype, unsigned char *m, |
109 | int dtype; | 104 | unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, |
110 | unsigned char *m; | 105 | RSA *rsa) |
111 | unsigned int m_len; | ||
112 | unsigned char *sigbuf; | ||
113 | unsigned int siglen; | ||
114 | RSA *rsa; | ||
115 | { | 106 | { |
116 | int i,ret=0; | 107 | int i,ret=0; |
117 | unsigned char *p,*s; | 108 | unsigned char *p,*s; |