diff options
Diffstat (limited to '')
153 files changed, 2465 insertions, 1211 deletions
diff --git a/src/lib/libcrypto/Makefile.ssl b/src/lib/libcrypto/Makefile.ssl index 2489b614c6..db8baf385e 100644 --- a/src/lib/libcrypto/Makefile.ssl +++ b/src/lib/libcrypto/Makefile.ssl | |||
| @@ -98,7 +98,7 @@ lib: $(LIBOBJ) | |||
| 98 | 98 | ||
| 99 | shared: | 99 | shared: |
| 100 | if [ -n "$(SHARED_LIBS)" ]; then \ | 100 | if [ -n "$(SHARED_LIBS)" ]; then \ |
| 101 | (cd ..; make $(SHARED_LIB)); \ | 101 | (cd ..; $(MAKE) $(SHARED_LIB)); \ |
| 102 | fi | 102 | fi |
| 103 | 103 | ||
| 104 | libs: | 104 | libs: |
diff --git a/src/lib/libcrypto/asn1/a_bitstr.c b/src/lib/libcrypto/asn1/a_bitstr.c index ed0bdfbde1..e0265f69d2 100644 --- a/src/lib/libcrypto/asn1/a_bitstr.c +++ b/src/lib/libcrypto/asn1/a_bitstr.c | |||
| @@ -120,6 +120,12 @@ ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | |||
| 120 | unsigned char *p,*s; | 120 | unsigned char *p,*s; |
| 121 | int i; | 121 | int i; |
| 122 | 122 | ||
| 123 | if (len < 1) | ||
| 124 | { | ||
| 125 | i=ASN1_R_STRING_TOO_SHORT; | ||
| 126 | goto err; | ||
| 127 | } | ||
| 128 | |||
| 123 | if ((a == NULL) || ((*a) == NULL)) | 129 | if ((a == NULL) || ((*a) == NULL)) |
| 124 | { | 130 | { |
| 125 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); | 131 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); |
diff --git a/src/lib/libcrypto/asn1/a_strex.c b/src/lib/libcrypto/asn1/a_strex.c index 8dab29dca1..7ddb7662f1 100644 --- a/src/lib/libcrypto/asn1/a_strex.c +++ b/src/lib/libcrypto/asn1/a_strex.c | |||
| @@ -544,7 +544,7 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) | |||
| 544 | { | 544 | { |
| 545 | ASN1_STRING stmp, *str = &stmp; | 545 | ASN1_STRING stmp, *str = &stmp; |
| 546 | int mbflag, type, ret; | 546 | int mbflag, type, ret; |
| 547 | if(!*out || !in) return -1; | 547 | if(!in) return -1; |
| 548 | type = in->type; | 548 | type = in->type; |
| 549 | if((type < 0) || (type > 30)) return -1; | 549 | if((type < 0) || (type > 30)) return -1; |
| 550 | mbflag = tag2nbyte[type]; | 550 | mbflag = tag2nbyte[type]; |
| @@ -553,6 +553,6 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) | |||
| 553 | stmp.data = NULL; | 553 | stmp.data = NULL; |
| 554 | ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING); | 554 | ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING); |
| 555 | if(ret < 0) return ret; | 555 | if(ret < 0) return ret; |
| 556 | if(out) *out = stmp.data; | 556 | *out = stmp.data; |
| 557 | return stmp.length; | 557 | return stmp.length; |
| 558 | } | 558 | } |
diff --git a/src/lib/libcrypto/asn1/t_req.c b/src/lib/libcrypto/asn1/t_req.c index 848c29a2dd..739f272ecf 100644 --- a/src/lib/libcrypto/asn1/t_req.c +++ b/src/lib/libcrypto/asn1/t_req.c | |||
| @@ -82,7 +82,7 @@ int X509_REQ_print_fp(FILE *fp, X509_REQ *x) | |||
| 82 | } | 82 | } |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | int X509_REQ_print(BIO *bp, X509_REQ *x) | 85 | int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, unsigned long cflag) |
| 86 | { | 86 | { |
| 87 | unsigned long l; | 87 | unsigned long l; |
| 88 | int i; | 88 | int i; |
| @@ -92,143 +92,185 @@ int X509_REQ_print(BIO *bp, X509_REQ *x) | |||
| 92 | STACK_OF(X509_ATTRIBUTE) *sk; | 92 | STACK_OF(X509_ATTRIBUTE) *sk; |
| 93 | STACK_OF(X509_EXTENSION) *exts; | 93 | STACK_OF(X509_EXTENSION) *exts; |
| 94 | char str[128]; | 94 | char str[128]; |
| 95 | char mlch = ' '; | ||
| 96 | int nmindent = 0; | ||
| 97 | |||
| 98 | if((nmflags & XN_FLAG_SEP_MASK) == XN_FLAG_SEP_MULTILINE) { | ||
| 99 | mlch = '\n'; | ||
| 100 | nmindent = 12; | ||
| 101 | } | ||
| 102 | |||
| 103 | if(nmflags == X509_FLAG_COMPAT) | ||
| 104 | nmindent = 16; | ||
| 105 | |||
| 95 | 106 | ||
| 96 | ri=x->req_info; | 107 | ri=x->req_info; |
| 97 | sprintf(str,"Certificate Request:\n"); | 108 | if(!(cflag & X509_FLAG_NO_HEADER)) |
| 98 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 99 | sprintf(str,"%4sData:\n",""); | ||
| 100 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 101 | |||
| 102 | neg=(ri->version->type == V_ASN1_NEG_INTEGER)?"-":""; | ||
| 103 | l=0; | ||
| 104 | for (i=0; i<ri->version->length; i++) | ||
| 105 | { l<<=8; l+=ri->version->data[i]; } | ||
| 106 | sprintf(str,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg,l); | ||
| 107 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 108 | sprintf(str,"%8sSubject: ",""); | ||
| 109 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 110 | |||
| 111 | X509_NAME_print(bp,ri->subject,16); | ||
| 112 | sprintf(str,"\n%8sSubject Public Key Info:\n",""); | ||
| 113 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 114 | i=OBJ_obj2nid(ri->pubkey->algor->algorithm); | ||
| 115 | sprintf(str,"%12sPublic Key Algorithm: %s\n","", | ||
| 116 | (i == NID_undef)?"UNKNOWN":OBJ_nid2ln(i)); | ||
| 117 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 118 | |||
| 119 | pkey=X509_REQ_get_pubkey(x); | ||
| 120 | #ifndef OPENSSL_NO_RSA | ||
| 121 | if (pkey != NULL && pkey->type == EVP_PKEY_RSA) | ||
| 122 | { | 109 | { |
| 123 | BIO_printf(bp,"%12sRSA Public Key: (%d bit)\n","", | 110 | if (BIO_write(bp,"Certificate Request:\n",21) <= 0) goto err; |
| 124 | BN_num_bits(pkey->pkey.rsa->n)); | 111 | if (BIO_write(bp," Data:\n",10) <= 0) goto err; |
| 125 | RSA_print(bp,pkey->pkey.rsa,16); | ||
| 126 | } | 112 | } |
| 127 | else | 113 | if(!(cflag & X509_FLAG_NO_VERSION)) |
| 128 | #endif | ||
| 129 | #ifndef OPENSSL_NO_DSA | ||
| 130 | if (pkey != NULL && pkey->type == EVP_PKEY_DSA) | ||
| 131 | { | 114 | { |
| 132 | BIO_printf(bp,"%12sDSA Public Key:\n",""); | 115 | neg=(ri->version->type == V_ASN1_NEG_INTEGER)?"-":""; |
| 133 | DSA_print(bp,pkey->pkey.dsa,16); | 116 | l=0; |
| 117 | for (i=0; i<ri->version->length; i++) | ||
| 118 | { l<<=8; l+=ri->version->data[i]; } | ||
| 119 | sprintf(str,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg,l); | ||
| 120 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 134 | } | 121 | } |
| 135 | else | 122 | if(!(cflag & X509_FLAG_NO_SUBJECT)) |
| 136 | #endif | 123 | { |
| 137 | BIO_printf(bp,"%12sUnknown Public Key:\n",""); | 124 | if (BIO_printf(bp," Subject:%c",mlch) <= 0) goto err; |
| 125 | if (X509_NAME_print_ex(bp,ri->subject,nmindent, nmflags) < 0) goto err; | ||
| 126 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 127 | } | ||
| 128 | if(!(cflag & X509_FLAG_NO_PUBKEY)) | ||
| 129 | { | ||
| 130 | if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) | ||
| 131 | goto err; | ||
| 132 | if (BIO_printf(bp,"%12sPublic Key Algorithm: ","") <= 0) | ||
| 133 | goto err; | ||
| 134 | if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0) | ||
| 135 | goto err; | ||
| 136 | if (BIO_puts(bp, "\n") <= 0) | ||
| 137 | goto err; | ||
| 138 | 138 | ||
| 139 | if (pkey != NULL) | 139 | pkey=X509_REQ_get_pubkey(x); |
| 140 | EVP_PKEY_free(pkey); | 140 | if (pkey == NULL) |
| 141 | { | ||
| 142 | BIO_printf(bp,"%12sUnable to load Public Key\n",""); | ||
| 143 | ERR_print_errors(bp); | ||
| 144 | } | ||
| 145 | else | ||
| 146 | #ifndef OPENSSL_NO_RSA | ||
| 147 | if (pkey->type == EVP_PKEY_RSA) | ||
| 148 | { | ||
| 149 | BIO_printf(bp,"%12sRSA Public Key: (%d bit)\n","", | ||
| 150 | BN_num_bits(pkey->pkey.rsa->n)); | ||
| 151 | RSA_print(bp,pkey->pkey.rsa,16); | ||
| 152 | } | ||
| 153 | else | ||
| 154 | #endif | ||
| 155 | #ifndef OPENSSL_NO_DSA | ||
| 156 | if (pkey->type == EVP_PKEY_DSA) | ||
| 157 | { | ||
| 158 | BIO_printf(bp,"%12sDSA Public Key:\n",""); | ||
| 159 | DSA_print(bp,pkey->pkey.dsa,16); | ||
| 160 | } | ||
| 161 | else | ||
| 162 | #endif | ||
| 163 | BIO_printf(bp,"%12sUnknown Public Key:\n",""); | ||
| 141 | 164 | ||
| 142 | /* may not be */ | 165 | EVP_PKEY_free(pkey); |
| 143 | sprintf(str,"%8sAttributes:\n",""); | 166 | } |
| 144 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 145 | 167 | ||
| 146 | sk=x->req_info->attributes; | 168 | if(!(cflag & X509_FLAG_NO_ATTRIBUTES)) |
| 147 | if (sk_X509_ATTRIBUTE_num(sk) == 0) | ||
| 148 | { | 169 | { |
| 149 | sprintf(str,"%12sa0:00\n",""); | 170 | /* may not be */ |
| 171 | sprintf(str,"%8sAttributes:\n",""); | ||
| 150 | if (BIO_puts(bp,str) <= 0) goto err; | 172 | if (BIO_puts(bp,str) <= 0) goto err; |
| 151 | } | 173 | |
| 152 | else | 174 | sk=x->req_info->attributes; |
| 153 | { | 175 | if (sk_X509_ATTRIBUTE_num(sk) == 0) |
| 154 | for (i=0; i<sk_X509_ATTRIBUTE_num(sk); i++) | ||
| 155 | { | 176 | { |
| 156 | ASN1_TYPE *at; | 177 | sprintf(str,"%12sa0:00\n",""); |
| 157 | X509_ATTRIBUTE *a; | ||
| 158 | ASN1_BIT_STRING *bs=NULL; | ||
| 159 | ASN1_TYPE *t; | ||
| 160 | int j,type=0,count=1,ii=0; | ||
| 161 | |||
| 162 | a=sk_X509_ATTRIBUTE_value(sk,i); | ||
| 163 | if(X509_REQ_extension_nid(OBJ_obj2nid(a->object))) | ||
| 164 | continue; | ||
| 165 | sprintf(str,"%12s",""); | ||
| 166 | if (BIO_puts(bp,str) <= 0) goto err; | 178 | if (BIO_puts(bp,str) <= 0) goto err; |
| 167 | if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0) | 179 | } |
| 180 | else | ||
| 168 | { | 181 | { |
| 169 | if (a->single) | 182 | for (i=0; i<sk_X509_ATTRIBUTE_num(sk); i++) |
| 170 | { | 183 | { |
| 171 | t=a->value.single; | 184 | ASN1_TYPE *at; |
| 172 | type=t->type; | 185 | X509_ATTRIBUTE *a; |
| 173 | bs=t->value.bit_string; | 186 | ASN1_BIT_STRING *bs=NULL; |
| 174 | } | 187 | ASN1_TYPE *t; |
| 175 | else | 188 | int j,type=0,count=1,ii=0; |
| 189 | |||
| 190 | a=sk_X509_ATTRIBUTE_value(sk,i); | ||
| 191 | if(X509_REQ_extension_nid(OBJ_obj2nid(a->object))) | ||
| 192 | continue; | ||
| 193 | sprintf(str,"%12s",""); | ||
| 194 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 195 | if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0) | ||
| 176 | { | 196 | { |
| 177 | ii=0; | 197 | if (a->single) |
| 178 | count=sk_ASN1_TYPE_num(a->value.set); | 198 | { |
| 199 | t=a->value.single; | ||
| 200 | type=t->type; | ||
| 201 | bs=t->value.bit_string; | ||
| 202 | } | ||
| 203 | else | ||
| 204 | { | ||
| 205 | ii=0; | ||
| 206 | count=sk_ASN1_TYPE_num(a->value.set); | ||
| 179 | get_next: | 207 | get_next: |
| 180 | at=sk_ASN1_TYPE_value(a->value.set,ii); | 208 | at=sk_ASN1_TYPE_value(a->value.set,ii); |
| 181 | type=at->type; | 209 | type=at->type; |
| 182 | bs=at->value.asn1_string; | 210 | bs=at->value.asn1_string; |
| 211 | } | ||
| 212 | } | ||
| 213 | for (j=25-j; j>0; j--) | ||
| 214 | if (BIO_write(bp," ",1) != 1) goto err; | ||
| 215 | if (BIO_puts(bp,":") <= 0) goto err; | ||
| 216 | if ( (type == V_ASN1_PRINTABLESTRING) || | ||
| 217 | (type == V_ASN1_T61STRING) || | ||
| 218 | (type == V_ASN1_IA5STRING)) | ||
| 219 | { | ||
| 220 | if (BIO_write(bp,(char *)bs->data,bs->length) | ||
| 221 | != bs->length) | ||
| 222 | goto err; | ||
| 223 | BIO_puts(bp,"\n"); | ||
| 224 | } | ||
| 225 | else | ||
| 226 | { | ||
| 227 | BIO_puts(bp,"unable to print attribute\n"); | ||
| 228 | } | ||
| 229 | if (++ii < count) goto get_next; | ||
| 183 | } | 230 | } |
| 184 | } | 231 | } |
| 185 | for (j=25-j; j>0; j--) | 232 | } |
| 186 | if (BIO_write(bp," ",1) != 1) goto err; | 233 | if(!(cflag & X509_FLAG_NO_ATTRIBUTES)) |
| 187 | if (BIO_puts(bp,":") <= 0) goto err; | 234 | { |
| 188 | if ( (type == V_ASN1_PRINTABLESTRING) || | 235 | exts = X509_REQ_get_extensions(x); |
| 189 | (type == V_ASN1_T61STRING) || | 236 | if(exts) |
| 190 | (type == V_ASN1_IA5STRING)) | 237 | { |
| 238 | BIO_printf(bp,"%8sRequested Extensions:\n",""); | ||
| 239 | for (i=0; i<sk_X509_EXTENSION_num(exts); i++) | ||
| 191 | { | 240 | { |
| 192 | if (BIO_write(bp,(char *)bs->data,bs->length) | 241 | ASN1_OBJECT *obj; |
| 193 | != bs->length) | 242 | X509_EXTENSION *ex; |
| 243 | int j; | ||
| 244 | ex=sk_X509_EXTENSION_value(exts, i); | ||
| 245 | if (BIO_printf(bp,"%12s","") <= 0) goto err; | ||
| 246 | obj=X509_EXTENSION_get_object(ex); | ||
| 247 | i2a_ASN1_OBJECT(bp,obj); | ||
| 248 | j=X509_EXTENSION_get_critical(ex); | ||
| 249 | if (BIO_printf(bp,": %s\n",j?"critical":"","") <= 0) | ||
| 194 | goto err; | 250 | goto err; |
| 195 | BIO_puts(bp,"\n"); | 251 | if(!X509V3_EXT_print(bp, ex, 0, 16)) |
| 196 | } | 252 | { |
| 197 | else | 253 | BIO_printf(bp, "%16s", ""); |
| 198 | { | 254 | M_ASN1_OCTET_STRING_print(bp,ex->value); |
| 199 | BIO_puts(bp,"unable to print attribute\n"); | 255 | } |
| 256 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 200 | } | 257 | } |
| 201 | if (++ii < count) goto get_next; | 258 | sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free); |
| 202 | } | 259 | } |
| 203 | } | 260 | } |
| 204 | 261 | ||
| 205 | exts = X509_REQ_get_extensions(x); | 262 | if(!(cflag & X509_FLAG_NO_SIGDUMP)) |
| 206 | if(exts) { | 263 | { |
| 207 | BIO_printf(bp,"%8sRequested Extensions:\n",""); | 264 | if(!X509_signature_print(bp, x->sig_alg, x->signature)) goto err; |
| 208 | for (i=0; i<sk_X509_EXTENSION_num(exts); i++) { | ||
| 209 | ASN1_OBJECT *obj; | ||
| 210 | X509_EXTENSION *ex; | ||
| 211 | int j; | ||
| 212 | ex=sk_X509_EXTENSION_value(exts, i); | ||
| 213 | if (BIO_printf(bp,"%12s","") <= 0) goto err; | ||
| 214 | obj=X509_EXTENSION_get_object(ex); | ||
| 215 | i2a_ASN1_OBJECT(bp,obj); | ||
| 216 | j=X509_EXTENSION_get_critical(ex); | ||
| 217 | if (BIO_printf(bp,": %s\n",j?"critical":"","") <= 0) | ||
| 218 | goto err; | ||
| 219 | if(!X509V3_EXT_print(bp, ex, 0, 16)) { | ||
| 220 | BIO_printf(bp, "%16s", ""); | ||
| 221 | M_ASN1_OCTET_STRING_print(bp,ex->value); | ||
| 222 | } | ||
| 223 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 224 | } | 265 | } |
| 225 | sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free); | ||
| 226 | } | ||
| 227 | |||
| 228 | if(!X509_signature_print(bp, x->sig_alg, x->signature)) goto err; | ||
| 229 | 266 | ||
| 230 | return(1); | 267 | return(1); |
| 231 | err: | 268 | err: |
| 232 | X509err(X509_F_X509_REQ_PRINT,ERR_R_BUF_LIB); | 269 | X509err(X509_F_X509_REQ_PRINT,ERR_R_BUF_LIB); |
| 233 | return(0); | 270 | return(0); |
| 234 | } | 271 | } |
| 272 | |||
| 273 | int X509_REQ_print(BIO *bp, X509_REQ *x) | ||
| 274 | { | ||
| 275 | return X509_REQ_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); | ||
| 276 | } | ||
diff --git a/src/lib/libcrypto/asn1/tasn_dec.c b/src/lib/libcrypto/asn1/tasn_dec.c index 0fc1f421e2..f87c08793a 100644 --- a/src/lib/libcrypto/asn1/tasn_dec.c +++ b/src/lib/libcrypto/asn1/tasn_dec.c | |||
| @@ -913,10 +913,10 @@ static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *i | |||
| 913 | ctx->ptag = ptag; | 913 | ctx->ptag = ptag; |
| 914 | ctx->hdrlen = p - q; | 914 | ctx->hdrlen = p - q; |
| 915 | ctx->valid = 1; | 915 | ctx->valid = 1; |
| 916 | /* If definite length, length + header can't exceed total | 916 | /* If definite length, and no error, length + |
| 917 | * amount of data available. | 917 | * header can't exceed total amount of data available. |
| 918 | */ | 918 | */ |
| 919 | if(!(i & 1) && ((plen + ctx->hdrlen) > len)) { | 919 | if(!(i & 0x81) && ((plen + ctx->hdrlen) > len)) { |
| 920 | ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_TOO_LONG); | 920 | ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_TOO_LONG); |
| 921 | asn1_tlc_clear(ctx); | 921 | asn1_tlc_clear(ctx); |
| 922 | return 0; | 922 | return 0; |
diff --git a/src/lib/libcrypto/bio/b_print.c b/src/lib/libcrypto/bio/b_print.c index 3ce1290772..80c9cb69db 100644 --- a/src/lib/libcrypto/bio/b_print.c +++ b/src/lib/libcrypto/bio/b_print.c | |||
| @@ -109,7 +109,7 @@ | |||
| 109 | * o ... (for OpenSSL) | 109 | * o ... (for OpenSSL) |
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #if HAVE_LONG_DOUBLE | 112 | #ifdef HAVE_LONG_DOUBLE |
| 113 | #define LDOUBLE long double | 113 | #define LDOUBLE long double |
| 114 | #else | 114 | #else |
| 115 | #define LDOUBLE double | 115 | #define LDOUBLE double |
diff --git a/src/lib/libcrypto/bn/bn.h b/src/lib/libcrypto/bn/bn.h index 1eaf879553..b40682f831 100644 --- a/src/lib/libcrypto/bn/bn.h +++ b/src/lib/libcrypto/bn/bn.h | |||
| @@ -430,7 +430,7 @@ int BN_mod_mul_montgomery(BIGNUM *r,const BIGNUM *a,const BIGNUM *b, | |||
| 430 | int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, | 430 | int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, |
| 431 | BN_MONT_CTX *mont, BN_CTX *ctx); | 431 | BN_MONT_CTX *mont, BN_CTX *ctx); |
| 432 | void BN_MONT_CTX_free(BN_MONT_CTX *mont); | 432 | void BN_MONT_CTX_free(BN_MONT_CTX *mont); |
| 433 | int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *modulus,BN_CTX *ctx); | 433 | int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx); |
| 434 | BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); | 434 | BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); |
| 435 | 435 | ||
| 436 | BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); | 436 | BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); |
diff --git a/src/lib/libcrypto/crypto-lib.com b/src/lib/libcrypto/crypto-lib.com index 4847a69a71..dfcff11860 100644 --- a/src/lib/libcrypto/crypto-lib.com +++ b/src/lib/libcrypto/crypto-lib.com | |||
| @@ -231,7 +231,7 @@ $ LIB_RAND = "md_rand,randfile,rand_lib,rand_err,rand_egd,"+ - | |||
| 231 | "rand_vms" | 231 | "rand_vms" |
| 232 | $ LIB_ERR = "err,err_all,err_prn" | 232 | $ LIB_ERR = "err,err_all,err_prn" |
| 233 | $ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err" | 233 | $ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err" |
| 234 | $ LIB_EVP = "encode,digest,evp_enc,evp_key,"+ - | 234 | $ LIB_EVP = "encode,digest,evp_enc,evp_key,evp_acnf,"+ - |
| 235 | "e_des,e_bf,e_idea,e_des3,"+ - | 235 | "e_des,e_bf,e_idea,e_des3,"+ - |
| 236 | "e_rc4,e_aes,names,"+ - | 236 | "e_rc4,e_aes,names,"+ - |
| 237 | "e_xcbc_d,e_rc2,e_cast,e_rc5" | 237 | "e_xcbc_d,e_rc2,e_cast,e_rc5" |
| @@ -265,14 +265,14 @@ $ LIB_X509V3 = "v3_bcons,v3_bitst,v3_conf,v3_extku,v3_ia5,v3_lib,"+ - | |||
| 265 | "v3_prn,v3_utl,v3err,v3_genn,v3_alt,v3_skey,v3_akey,v3_pku,"+ - | 265 | "v3_prn,v3_utl,v3err,v3_genn,v3_alt,v3_skey,v3_akey,v3_pku,"+ - |
| 266 | "v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info,"+ - | 266 | "v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info,"+ - |
| 267 | "v3_ocsp,v3_akeya" | 267 | "v3_ocsp,v3_akeya" |
| 268 | $ LIB_CONF = "conf_err,conf_lib,conf_api,conf_def,conf_mod,conf_mall" | 268 | $ LIB_CONF = "conf_err,conf_lib,conf_api,conf_def,conf_mod,conf_mall,conf_sap" |
| 269 | $ LIB_TXT_DB = "txt_db" | 269 | $ LIB_TXT_DB = "txt_db" |
| 270 | $ LIB_PKCS7 = "pk7_asn1,pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,"+ - | 270 | $ LIB_PKCS7 = "pk7_asn1,pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,"+ - |
| 271 | "pk7_mime" | 271 | "pk7_mime" |
| 272 | $ LIB_PKCS12 = "p12_add,p12_asn,p12_attr,p12_crpt,p12_crt,p12_decr,"+ - | 272 | $ LIB_PKCS12 = "p12_add,p12_asn,p12_attr,p12_crpt,p12_crt,p12_decr,"+ - |
| 273 | "p12_init,p12_key,p12_kiss,p12_mutl,"+ - | 273 | "p12_init,p12_key,p12_kiss,p12_mutl,"+ - |
| 274 | "p12_utl,p12_npas,pk12err,p12_p8d,p12_p8e" | 274 | "p12_utl,p12_npas,pk12err,p12_p8d,p12_p8e" |
| 275 | $ LIB_COMP = "comp_lib,"+ - | 275 | $ LIB_COMP = "comp_lib,comp_err,"+ - |
| 276 | "c_rle,c_zlib" | 276 | "c_rle,c_zlib" |
| 277 | $ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ - | 277 | $ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ - |
| 278 | "ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err" | 278 | "ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err" |
| @@ -1325,7 +1325,7 @@ $ CC4 = CC - CCDISABLEWARNINGS + CC4DISABLEWARNINGS | |||
| 1325 | $! | 1325 | $! |
| 1326 | $! Show user the result | 1326 | $! Show user the result |
| 1327 | $! | 1327 | $! |
| 1328 | $ WRITE SYS$OUTPUT "Main C Compiling Command: ",CC | 1328 | $ WRITE/SYMBOL SYS$OUTPUT "Main C Compiling Command: ",CC |
| 1329 | $! | 1329 | $! |
| 1330 | $! Else The User Entered An Invalid Arguement. | 1330 | $! Else The User Entered An Invalid Arguement. |
| 1331 | $! | 1331 | $! |
| @@ -1356,7 +1356,7 @@ $ IF ARCH .EQS. "AXP" THEN MACRO = "MACRO/MIGRATION/''DEBUGGER'/''MACRO_OPTIMIZE | |||
| 1356 | $! | 1356 | $! |
| 1357 | $! Show user the result | 1357 | $! Show user the result |
| 1358 | $! | 1358 | $! |
| 1359 | $ WRITE SYS$OUTPUT "Main MACRO Compiling Command: ",MACRO | 1359 | $ WRITE/SYMBOL SYS$OUTPUT "Main MACRO Compiling Command: ",MACRO |
| 1360 | $! | 1360 | $! |
| 1361 | $! Time to check the contents, and to make sure we get the correct library. | 1361 | $! Time to check the contents, and to make sure we get the correct library. |
| 1362 | $! | 1362 | $! |
diff --git a/src/lib/libcrypto/des/Makefile.ssl b/src/lib/libcrypto/des/Makefile.ssl index ee5849d8fa..826ffcc58c 100644 --- a/src/lib/libcrypto/des/Makefile.ssl +++ b/src/lib/libcrypto/des/Makefile.ssl | |||
| @@ -207,7 +207,8 @@ ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | |||
| 207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
| 208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
| 209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
| 210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb_enc.c spr.h | 210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c |
| 211 | ecb_enc.o: spr.h | ||
| 211 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 212 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
| 212 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | 213 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h |
| 213 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | 214 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h |
diff --git a/src/lib/libcrypto/des/des_ver.h b/src/lib/libcrypto/des/des_ver.h index 0fa94d5368..ec9cc736e3 100644 --- a/src/lib/libcrypto/des/des_ver.h +++ b/src/lib/libcrypto/des/des_ver.h | |||
| @@ -63,5 +63,5 @@ | |||
| 63 | # define OPENSSL_EXTERN OPENSSL_EXPORT | 63 | # define OPENSSL_EXTERN OPENSSL_EXPORT |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
| 66 | OPENSSL_EXTERN char *DES_version; /* SSLeay version string */ | 66 | OPENSSL_EXTERN const char *DES_version; /* SSLeay version string */ |
| 67 | OPENSSL_EXTERN char *libdes_version; /* old libdes version string */ | 67 | OPENSSL_EXTERN const char *libdes_version; /* old libdes version string */ |
diff --git a/src/lib/libcrypto/des/ecb_enc.c b/src/lib/libcrypto/des/ecb_enc.c index 4650f2fa0f..1b70f68806 100644 --- a/src/lib/libcrypto/des/ecb_enc.c +++ b/src/lib/libcrypto/des/ecb_enc.c | |||
| @@ -57,6 +57,7 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include "des_locl.h" | 59 | #include "des_locl.h" |
| 60 | #include "des_ver.h" | ||
| 60 | #include "spr.h" | 61 | #include "spr.h" |
| 61 | #include <openssl/opensslv.h> | 62 | #include <openssl/opensslv.h> |
| 62 | 63 | ||
diff --git a/src/lib/libcrypto/des/set_key.c b/src/lib/libcrypto/des/set_key.c index 683916e71b..143008ed9c 100644 --- a/src/lib/libcrypto/des/set_key.c +++ b/src/lib/libcrypto/des/set_key.c | |||
| @@ -342,7 +342,7 @@ void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule) | |||
| 342 | register DES_LONG *k; | 342 | register DES_LONG *k; |
| 343 | register int i; | 343 | register int i; |
| 344 | 344 | ||
| 345 | #if OPENBSD_DEV_CRYPTO | 345 | #ifdef OPENBSD_DEV_CRYPTO |
| 346 | memcpy(schedule->key,key,sizeof schedule->key); | 346 | memcpy(schedule->key,key,sizeof schedule->key); |
| 347 | schedule->session=NULL; | 347 | schedule->session=NULL; |
| 348 | #endif | 348 | #endif |
diff --git a/src/lib/libcrypto/doc/DH_set_method.pod b/src/lib/libcrypto/doc/DH_set_method.pod index d990bf8786..73261fc467 100644 --- a/src/lib/libcrypto/doc/DH_set_method.pod +++ b/src/lib/libcrypto/doc/DH_set_method.pod | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | =head1 NAME | 3 | =head1 NAME |
| 4 | 4 | ||
| 5 | DH_set_default_openssl_method, DH_get_default_openssl_method, | 5 | DH_set_default_method, DH_get_default_method, |
| 6 | DH_set_method, DH_new_method, DH_OpenSSL - select DH method | 6 | DH_set_method, DH_new_method, DH_OpenSSL - select DH method |
| 7 | 7 | ||
| 8 | =head1 SYNOPSIS | 8 | =head1 SYNOPSIS |
| @@ -10,45 +10,47 @@ DH_set_method, DH_new_method, DH_OpenSSL - select DH method | |||
| 10 | #include <openssl/dh.h> | 10 | #include <openssl/dh.h> |
| 11 | #include <openssl/engine.h> | 11 | #include <openssl/engine.h> |
| 12 | 12 | ||
| 13 | void DH_set_default_openssl_method(DH_METHOD *meth); | 13 | void DH_set_default_method(const DH_METHOD *meth); |
| 14 | 14 | ||
| 15 | DH_METHOD *DH_get_default_openssl_method(void); | 15 | const DH_METHOD *DH_get_default_method(void); |
| 16 | 16 | ||
| 17 | int DH_set_method(DH *dh, ENGINE *engine); | 17 | int DH_set_method(DH *dh, const DH_METHOD *meth); |
| 18 | 18 | ||
| 19 | DH *DH_new_method(ENGINE *engine); | 19 | DH *DH_new_method(ENGINE *engine); |
| 20 | 20 | ||
| 21 | DH_METHOD *DH_OpenSSL(void); | 21 | const DH_METHOD *DH_OpenSSL(void); |
| 22 | 22 | ||
| 23 | =head1 DESCRIPTION | 23 | =head1 DESCRIPTION |
| 24 | 24 | ||
| 25 | A B<DH_METHOD> specifies the functions that OpenSSL uses for Diffie-Hellman | 25 | A B<DH_METHOD> specifies the functions that OpenSSL uses for Diffie-Hellman |
| 26 | operations. By modifying the method, alternative implementations | 26 | operations. By modifying the method, alternative implementations |
| 27 | such as hardware accelerators may be used. | 27 | such as hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 28 | 28 | important information about how these DH API functions are affected by the use | |
| 29 | Initially, the default is to use the OpenSSL internal implementation. | 29 | of B<ENGINE> API calls. |
| 30 | DH_OpenSSL() returns a pointer to that method. | 30 | |
| 31 | 31 | Initially, the default DH_METHOD is the OpenSSL internal implementation, as | |
| 32 | DH_set_default_openssl_method() makes B<meth> the default method for all DH | 32 | returned by DH_OpenSSL(). |
| 33 | structures created later. B<NB:> This is true only whilst the default engine | 33 | |
| 34 | for Diffie-Hellman operations remains as "openssl". ENGINEs provide an | 34 | DH_set_default_method() makes B<meth> the default method for all DH |
| 35 | encapsulation for implementations of one or more algorithms, and all the DH | 35 | structures created later. B<NB>: This is true only whilst no ENGINE has been set |
| 36 | functions mentioned here operate within the scope of the default | 36 | as a default for DH, so this function is no longer recommended. |
| 37 | "openssl" engine. | 37 | |
| 38 | 38 | DH_get_default_method() returns a pointer to the current default DH_METHOD. | |
| 39 | DH_get_default_openssl_method() returns a pointer to the current default | 39 | However, the meaningfulness of this result is dependant on whether the ENGINE |
| 40 | method for the "openssl" engine. | 40 | API is being used, so this function is no longer recommended. |
| 41 | 41 | ||
| 42 | DH_set_method() selects B<engine> as the engine that will be responsible for | 42 | DH_set_method() selects B<meth> to perform all operations using the key B<dh>. |
| 43 | all operations using the structure B<dh>. If this function completes successfully, | 43 | This will replace the DH_METHOD used by the DH key and if the previous method |
| 44 | then the B<dh> structure will have its own functional reference of B<engine>, so | 44 | was supplied by an ENGINE, the handle to that ENGINE will be released during the |
| 45 | the caller should remember to free their own reference to B<engine> when they are | 45 | change. It is possible to have DH keys that only work with certain DH_METHOD |
| 46 | finished with it. NB: An ENGINE's DH_METHOD can be retrieved (or set) by | 46 | implementations (eg. from an ENGINE module that supports embedded |
| 47 | ENGINE_get_DH() or ENGINE_set_DH(). | 47 | hardware-protected keys), and in such cases attempting to change the DH_METHOD |
| 48 | 48 | for the key can have unexpected results. | |
| 49 | DH_new_method() allocates and initializes a DH structure so that | 49 | |
| 50 | B<engine> will be used for the DH operations. If B<engine> is NULL, | 50 | DH_new_method() allocates and initializes a DH structure so that B<engine> will |
| 51 | the default engine for Diffie-Hellman opertaions is used. | 51 | be used for the DH operations. If B<engine> is NULL, the default ENGINE for DH |
| 52 | operations is used, and if no default ENGINE is set, the DH_METHOD controlled by | ||
| 53 | DH_set_default_method() is used. | ||
| 52 | 54 | ||
| 53 | =head1 THE DH_METHOD STRUCTURE | 55 | =head1 THE DH_METHOD STRUCTURE |
| 54 | 56 | ||
| @@ -82,17 +84,28 @@ the default engine for Diffie-Hellman opertaions is used. | |||
| 82 | 84 | ||
| 83 | =head1 RETURN VALUES | 85 | =head1 RETURN VALUES |
| 84 | 86 | ||
| 85 | DH_OpenSSL() and DH_get_default_openssl_method() return pointers to the | 87 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective |
| 86 | respective B<DH_METHOD>s. | 88 | B<DH_METHOD>s. |
| 89 | |||
| 90 | DH_set_default_method() returns no value. | ||
| 91 | |||
| 92 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as | ||
| 93 | the method for B<dh> (including unloading the ENGINE handle if the previous | ||
| 94 | method was supplied by an ENGINE). | ||
| 87 | 95 | ||
| 88 | DH_set_default_openssl_method() returns no value. | 96 | DH_new_method() returns NULL and sets an error code that can be obtained by |
| 97 | L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise it | ||
| 98 | returns a pointer to the newly allocated structure. | ||
| 89 | 99 | ||
| 90 | DH_set_method() returns non-zero if the ENGINE associated with B<dh> | 100 | =head1 NOTES |
| 91 | was successfully changed to B<engine>. | ||
| 92 | 101 | ||
| 93 | DH_new_method() returns NULL and sets an error code that can be | 102 | As of version 0.9.7, DH_METHOD implementations are grouped together with other |
| 94 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. | 103 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a |
| 95 | Otherwise it returns a pointer to the newly allocated structure. | 104 | default ENGINE is specified for DH functionality using an ENGINE API function, |
| 105 | that will override any DH defaults set using the DH API (ie. | ||
| 106 | DH_set_default_method()). For this reason, the ENGINE API is the recommended way | ||
| 107 | to control default implementations for use in DH and other cryptographic | ||
| 108 | algorithms. | ||
| 96 | 109 | ||
| 97 | =head1 SEE ALSO | 110 | =head1 SEE ALSO |
| 98 | 111 | ||
| @@ -103,9 +116,14 @@ L<dh(3)|dh(3)>, L<DH_new(3)|DH_new(3)> | |||
| 103 | DH_set_default_method(), DH_get_default_method(), DH_set_method(), | 116 | DH_set_default_method(), DH_get_default_method(), DH_set_method(), |
| 104 | DH_new_method() and DH_OpenSSL() were added in OpenSSL 0.9.4. | 117 | DH_new_method() and DH_OpenSSL() were added in OpenSSL 0.9.4. |
| 105 | 118 | ||
| 106 | DH_set_default_openssl_method() and DH_get_default_openssl_method() | 119 | DH_set_default_openssl_method() and DH_get_default_openssl_method() replaced |
| 107 | replaced DH_set_default_method() and DH_get_default_method() respectively, | 120 | DH_set_default_method() and DH_get_default_method() respectively, and |
| 108 | and DH_set_method() and DH_new_method() were altered to use B<ENGINE>s | 121 | DH_set_method() and DH_new_method() were altered to use B<ENGINE>s rather than |
| 109 | rather than B<DH_METHOD>s during development of OpenSSL 0.9.6. | 122 | B<DH_METHOD>s during development of the engine version of OpenSSL 0.9.6. For |
| 123 | 0.9.7, the handling of defaults in the ENGINE API was restructured so that this | ||
| 124 | change was reversed, and behaviour of the other functions resembled more closely | ||
| 125 | the previous behaviour. The behaviour of defaults in the ENGINE API now | ||
| 126 | transparently overrides the behaviour of defaults in the DH API without | ||
| 127 | requiring changing these function prototypes. | ||
| 110 | 128 | ||
| 111 | =cut | 129 | =cut |
diff --git a/src/lib/libcrypto/doc/DSA_dup_DH.pod b/src/lib/libcrypto/doc/DSA_dup_DH.pod index 695f99a13b..7f6f0d1115 100644 --- a/src/lib/libcrypto/doc/DSA_dup_DH.pod +++ b/src/lib/libcrypto/doc/DSA_dup_DH.pod | |||
| @@ -8,7 +8,7 @@ DSA_dup_DH - create a DH structure out of DSA structure | |||
| 8 | 8 | ||
| 9 | #include <openssl/dsa.h> | 9 | #include <openssl/dsa.h> |
| 10 | 10 | ||
| 11 | DH * DSA_dup_DH(DSA *r); | 11 | DH * DSA_dup_DH(const DSA *r); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libcrypto/doc/DSA_new.pod b/src/lib/libcrypto/doc/DSA_new.pod index 301af912dd..48e9b82a09 100644 --- a/src/lib/libcrypto/doc/DSA_new.pod +++ b/src/lib/libcrypto/doc/DSA_new.pod | |||
| @@ -14,7 +14,8 @@ DSA_new, DSA_free - allocate and free DSA objects | |||
| 14 | 14 | ||
| 15 | =head1 DESCRIPTION | 15 | =head1 DESCRIPTION |
| 16 | 16 | ||
| 17 | DSA_new() allocates and initializes a B<DSA> structure. | 17 | DSA_new() allocates and initializes a B<DSA> structure. It is equivalent to |
| 18 | calling DSA_new_method(NULL). | ||
| 18 | 19 | ||
| 19 | DSA_free() frees the B<DSA> structure and its components. The values are | 20 | DSA_free() frees the B<DSA> structure and its components. The values are |
| 20 | erased before the memory is returned to the system. | 21 | erased before the memory is returned to the system. |
diff --git a/src/lib/libcrypto/doc/DSA_set_method.pod b/src/lib/libcrypto/doc/DSA_set_method.pod index 36a1052d27..bc3cfb1f0a 100644 --- a/src/lib/libcrypto/doc/DSA_set_method.pod +++ b/src/lib/libcrypto/doc/DSA_set_method.pod | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | =head1 NAME | 3 | =head1 NAME |
| 4 | 4 | ||
| 5 | DSA_set_default_openssl_method, DSA_get_default_openssl_method, | 5 | DSA_set_default_method, DSA_get_default_method, |
| 6 | DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | 6 | DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method |
| 7 | 7 | ||
| 8 | =head1 SYNOPSIS | 8 | =head1 SYNOPSIS |
| @@ -10,11 +10,11 @@ DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | |||
| 10 | #include <openssl/dsa.h> | 10 | #include <openssl/dsa.h> |
| 11 | #include <openssl/engine.h> | 11 | #include <openssl/engine.h> |
| 12 | 12 | ||
| 13 | void DSA_set_default_openssl_method(DSA_METHOD *meth); | 13 | void DSA_set_default_method(const DSA_METHOD *meth); |
| 14 | 14 | ||
| 15 | DSA_METHOD *DSA_get_default_openssl_method(void); | 15 | const DSA_METHOD *DSA_get_default_method(void); |
| 16 | 16 | ||
| 17 | int DSA_set_method(DSA *dsa, ENGINE *engine); | 17 | int DSA_set_method(DSA *dsa, const DSA_METHOD *meth); |
| 18 | 18 | ||
| 19 | DSA *DSA_new_method(ENGINE *engine); | 19 | DSA *DSA_new_method(ENGINE *engine); |
| 20 | 20 | ||
| @@ -24,26 +24,35 @@ DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | |||
| 24 | 24 | ||
| 25 | A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA | 25 | A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA |
| 26 | operations. By modifying the method, alternative implementations | 26 | operations. By modifying the method, alternative implementations |
| 27 | such as hardware accelerators may be used. | 27 | such as hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 28 | 28 | important information about how these DSA API functions are affected by the use | |
| 29 | Initially, the default is to use the OpenSSL internal implementation. | 29 | of B<ENGINE> API calls. |
| 30 | DSA_OpenSSL() returns a pointer to that method. | 30 | |
| 31 | 31 | Initially, the default DSA_METHOD is the OpenSSL internal implementation, | |
| 32 | DSA_set_default_openssl_method() makes B<meth> the default method for | 32 | as returned by DSA_OpenSSL(). |
| 33 | all DSA structures created later. B<NB:> This is true only whilst the | 33 | |
| 34 | default engine for DSA operations remains as "openssl". ENGINEs | 34 | DSA_set_default_method() makes B<meth> the default method for all DSA |
| 35 | provide an encapsulation for implementations of one or more algorithms at a | 35 | structures created later. B<NB>: This is true only whilst no ENGINE has |
| 36 | time, and all the DSA functions mentioned here operate within the scope | 36 | been set as a default for DSA, so this function is no longer recommended. |
| 37 | of the default "openssl" engine. | 37 | |
| 38 | 38 | DSA_get_default_method() returns a pointer to the current default | |
| 39 | DSA_get_default_openssl_method() returns a pointer to the current default | 39 | DSA_METHOD. However, the meaningfulness of this result is dependant on |
| 40 | method for the "openssl" engine. | 40 | whether the ENGINE API is being used, so this function is no longer |
| 41 | 41 | recommended. | |
| 42 | DSA_set_method() selects B<engine> for all operations using the structure B<dsa>. | 42 | |
| 43 | 43 | DSA_set_method() selects B<meth> to perform all operations using the key | |
| 44 | DSA_new_method() allocates and initializes a DSA structure so that | 44 | B<rsa>. This will replace the DSA_METHOD used by the DSA key and if the |
| 45 | B<engine> will be used for the DSA operations. If B<engine> is NULL, | 45 | previous method was supplied by an ENGINE, the handle to that ENGINE will |
| 46 | the default engine for DSA operations is used. | 46 | be released during the change. It is possible to have DSA keys that only |
| 47 | work with certain DSA_METHOD implementations (eg. from an ENGINE module | ||
| 48 | that supports embedded hardware-protected keys), and in such cases | ||
| 49 | attempting to change the DSA_METHOD for the key can have unexpected | ||
| 50 | results. | ||
| 51 | |||
| 52 | DSA_new_method() allocates and initializes a DSA structure so that B<engine> | ||
| 53 | will be used for the DSA operations. If B<engine> is NULL, the default engine | ||
| 54 | for DSA operations is used, and if no default ENGINE is set, the DSA_METHOD | ||
| 55 | controlled by DSA_set_default_method() is used. | ||
| 47 | 56 | ||
| 48 | =head1 THE DSA_METHOD STRUCTURE | 57 | =head1 THE DSA_METHOD STRUCTURE |
| 49 | 58 | ||
| @@ -89,18 +98,29 @@ struct | |||
| 89 | 98 | ||
| 90 | =head1 RETURN VALUES | 99 | =head1 RETURN VALUES |
| 91 | 100 | ||
| 92 | DSA_OpenSSL() and DSA_get_default_openssl_method() return pointers to the | 101 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective |
| 93 | respective B<DSA_METHOD>s. | 102 | B<DSA_METHOD>s. |
| 94 | 103 | ||
| 95 | DSA_set_default_openssl_method() returns no value. | 104 | DSA_set_default_method() returns no value. |
| 96 | 105 | ||
| 97 | DSA_set_method() returns non-zero if the ENGINE associated with B<dsa> | 106 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set as |
| 98 | was successfully changed to B<engine>. | 107 | the method for B<dsa> (including unloading the ENGINE handle if the previous |
| 108 | method was supplied by an ENGINE). | ||
| 99 | 109 | ||
| 100 | DSA_new_method() returns NULL and sets an error code that can be | 110 | DSA_new_method() returns NULL and sets an error code that can be |
| 101 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation | 111 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation |
| 102 | fails. Otherwise it returns a pointer to the newly allocated structure. | 112 | fails. Otherwise it returns a pointer to the newly allocated structure. |
| 103 | 113 | ||
| 114 | =head1 NOTES | ||
| 115 | |||
| 116 | As of version 0.9.7, DSA_METHOD implementations are grouped together with other | ||
| 117 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a | ||
| 118 | default ENGINE is specified for DSA functionality using an ENGINE API function, | ||
| 119 | that will override any DSA defaults set using the DSA API (ie. | ||
| 120 | DSA_set_default_method()). For this reason, the ENGINE API is the recommended way | ||
| 121 | to control default implementations for use in DSA and other cryptographic | ||
| 122 | algorithms. | ||
| 123 | |||
| 104 | =head1 SEE ALSO | 124 | =head1 SEE ALSO |
| 105 | 125 | ||
| 106 | L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> | 126 | L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> |
| @@ -110,9 +130,14 @@ L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> | |||
| 110 | DSA_set_default_method(), DSA_get_default_method(), DSA_set_method(), | 130 | DSA_set_default_method(), DSA_get_default_method(), DSA_set_method(), |
| 111 | DSA_new_method() and DSA_OpenSSL() were added in OpenSSL 0.9.4. | 131 | DSA_new_method() and DSA_OpenSSL() were added in OpenSSL 0.9.4. |
| 112 | 132 | ||
| 113 | DSA_set_default_openssl_method() and DSA_get_default_openssl_method() | 133 | DSA_set_default_openssl_method() and DSA_get_default_openssl_method() replaced |
| 114 | replaced DSA_set_default_method() and DSA_get_default_method() respectively, | 134 | DSA_set_default_method() and DSA_get_default_method() respectively, and |
| 115 | and DSA_set_method() and DSA_new_method() were altered to use B<ENGINE>s | 135 | DSA_set_method() and DSA_new_method() were altered to use B<ENGINE>s rather than |
| 116 | rather than B<DSA_METHOD>s during development of OpenSSL 0.9.6. | 136 | B<DSA_METHOD>s during development of the engine version of OpenSSL 0.9.6. For |
| 137 | 0.9.7, the handling of defaults in the ENGINE API was restructured so that this | ||
| 138 | change was reversed, and behaviour of the other functions resembled more closely | ||
| 139 | the previous behaviour. The behaviour of defaults in the ENGINE API now | ||
| 140 | transparently overrides the behaviour of defaults in the DSA API without | ||
| 141 | requiring changing these function prototypes. | ||
| 117 | 142 | ||
| 118 | =cut | 143 | =cut |
diff --git a/src/lib/libcrypto/doc/DSA_size.pod b/src/lib/libcrypto/doc/DSA_size.pod index 23b6320a4d..ba4f650361 100644 --- a/src/lib/libcrypto/doc/DSA_size.pod +++ b/src/lib/libcrypto/doc/DSA_size.pod | |||
| @@ -8,7 +8,7 @@ DSA_size - get DSA signature size | |||
| 8 | 8 | ||
| 9 | #include <openssl/dsa.h> | 9 | #include <openssl/dsa.h> |
| 10 | 10 | ||
| 11 | int DSA_size(DSA *dsa); | 11 | int DSA_size(const DSA *dsa); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libcrypto/doc/EVP_SealInit.pod b/src/lib/libcrypto/doc/EVP_SealInit.pod index 0451eb648a..25ef07f7c7 100644 --- a/src/lib/libcrypto/doc/EVP_SealInit.pod +++ b/src/lib/libcrypto/doc/EVP_SealInit.pod | |||
| @@ -73,4 +73,6 @@ L<EVP_OpenInit(3)|EVP_OpenInit(3)> | |||
| 73 | 73 | ||
| 74 | =head1 HISTORY | 74 | =head1 HISTORY |
| 75 | 75 | ||
| 76 | EVP_SealFinal() did not return a value before OpenSSL 0.9.7. | ||
| 77 | |||
| 76 | =cut | 78 | =cut |
diff --git a/src/lib/libcrypto/doc/RAND_set_rand_method.pod b/src/lib/libcrypto/doc/RAND_set_rand_method.pod index 464eba416d..c9bb6d9f27 100644 --- a/src/lib/libcrypto/doc/RAND_set_rand_method.pod +++ b/src/lib/libcrypto/doc/RAND_set_rand_method.pod | |||
| @@ -8,22 +8,30 @@ RAND_set_rand_method, RAND_get_rand_method, RAND_SSLeay - select RAND method | |||
| 8 | 8 | ||
| 9 | #include <openssl/rand.h> | 9 | #include <openssl/rand.h> |
| 10 | 10 | ||
| 11 | void RAND_set_rand_method(RAND_METHOD *meth); | 11 | void RAND_set_rand_method(const RAND_METHOD *meth); |
| 12 | 12 | ||
| 13 | RAND_METHOD *RAND_get_rand_method(void); | 13 | const RAND_METHOD *RAND_get_rand_method(void); |
| 14 | 14 | ||
| 15 | RAND_METHOD *RAND_SSLeay(void); | 15 | RAND_METHOD *RAND_SSLeay(void); |
| 16 | 16 | ||
| 17 | =head1 DESCRIPTION | 17 | =head1 DESCRIPTION |
| 18 | 18 | ||
| 19 | A B<RAND_METHOD> specifies the functions that OpenSSL uses for random | 19 | A B<RAND_METHOD> specifies the functions that OpenSSL uses for random number |
| 20 | number generation. By modifying the method, alternative | 20 | generation. By modifying the method, alternative implementations such as |
| 21 | implementations such as hardware RNGs may be used. Initially, the | 21 | hardware RNGs may be used. IMPORTANT: See the NOTES section for important |
| 22 | default is to use the OpenSSL internal implementation. RAND_SSLeay() | 22 | information about how these RAND API functions are affected by the use of |
| 23 | returns a pointer to that method. | 23 | B<ENGINE> API calls. |
| 24 | 24 | ||
| 25 | RAND_set_rand_method() sets the RAND method to B<meth>. | 25 | Initially, the default RAND_METHOD is the OpenSSL internal implementation, as |
| 26 | RAND_get_rand_method() returns a pointer to the current method. | 26 | returned by RAND_SSLeay(). |
| 27 | |||
| 28 | RAND_set_default_method() makes B<meth> the method for PRNG use. B<NB>: This is | ||
| 29 | true only whilst no ENGINE has been set as a default for RAND, so this function | ||
| 30 | is no longer recommended. | ||
| 31 | |||
| 32 | RAND_get_default_method() returns a pointer to the current RAND_METHOD. | ||
| 33 | However, the meaningfulness of this result is dependant on whether the ENGINE | ||
| 34 | API is being used, so this function is no longer recommended. | ||
| 27 | 35 | ||
| 28 | =head1 THE RAND_METHOD STRUCTURE | 36 | =head1 THE RAND_METHOD STRUCTURE |
| 29 | 37 | ||
| @@ -47,13 +55,29 @@ Each component may be NULL if the function is not implemented. | |||
| 47 | RAND_set_rand_method() returns no value. RAND_get_rand_method() and | 55 | RAND_set_rand_method() returns no value. RAND_get_rand_method() and |
| 48 | RAND_SSLeay() return pointers to the respective methods. | 56 | RAND_SSLeay() return pointers to the respective methods. |
| 49 | 57 | ||
| 58 | =head1 NOTES | ||
| 59 | |||
| 60 | As of version 0.9.7, RAND_METHOD implementations are grouped together with other | ||
| 61 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a | ||
| 62 | default ENGINE is specified for RAND functionality using an ENGINE API function, | ||
| 63 | that will override any RAND defaults set using the RAND API (ie. | ||
| 64 | RAND_set_rand_method()). For this reason, the ENGINE API is the recommended way | ||
| 65 | to control default implementations for use in RAND and other cryptographic | ||
| 66 | algorithms. | ||
| 67 | |||
| 50 | =head1 SEE ALSO | 68 | =head1 SEE ALSO |
| 51 | 69 | ||
| 52 | L<rand(3)|rand(3)> | 70 | L<rand(3)|rand(3)>, L<engine(3)|engine(3)> |
| 53 | 71 | ||
| 54 | =head1 HISTORY | 72 | =head1 HISTORY |
| 55 | 73 | ||
| 56 | RAND_set_rand_method(), RAND_get_rand_method() and RAND_SSLeay() are | 74 | RAND_set_rand_method(), RAND_get_rand_method() and RAND_SSLeay() are |
| 57 | available in all versions of OpenSSL. | 75 | available in all versions of OpenSSL. |
| 58 | 76 | ||
| 77 | In the engine version of version 0.9.6, RAND_set_rand_method() was altered to | ||
| 78 | take an ENGINE pointer as its argument. As of version 0.9.7, that has been | ||
| 79 | reverted as the ENGINE API transparently overrides RAND defaults if used, | ||
| 80 | otherwise RAND API functions work as before. RAND_set_rand_engine() was also | ||
| 81 | introduced in version 0.9.7. | ||
| 82 | |||
| 59 | =cut | 83 | =cut |
diff --git a/src/lib/libcrypto/doc/RSA_new.pod b/src/lib/libcrypto/doc/RSA_new.pod index 299047f31f..3d15b92824 100644 --- a/src/lib/libcrypto/doc/RSA_new.pod +++ b/src/lib/libcrypto/doc/RSA_new.pod | |||
| @@ -14,7 +14,8 @@ RSA_new, RSA_free - allocate and free RSA objects | |||
| 14 | 14 | ||
| 15 | =head1 DESCRIPTION | 15 | =head1 DESCRIPTION |
| 16 | 16 | ||
| 17 | RSA_new() allocates and initializes an B<RSA> structure. | 17 | RSA_new() allocates and initializes an B<RSA> structure. It is equivalent to |
| 18 | calling RSA_new_method(NULL). | ||
| 18 | 19 | ||
| 19 | RSA_free() frees the B<RSA> structure and its components. The key is | 20 | RSA_free() frees the B<RSA> structure and its components. The key is |
| 20 | erased before the memory is returned to the system. | 21 | erased before the memory is returned to the system. |
| @@ -30,7 +31,8 @@ RSA_free() returns no value. | |||
| 30 | =head1 SEE ALSO | 31 | =head1 SEE ALSO |
| 31 | 32 | ||
| 32 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, | 33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, |
| 33 | L<RSA_generate_key(3)|RSA_generate_key(3)> | 34 | L<RSA_generate_key(3)|RSA_generate_key(3)>, |
| 35 | L<RSA_new_method(3)|RSA_new_method(3)> | ||
| 34 | 36 | ||
| 35 | =head1 HISTORY | 37 | =head1 HISTORY |
| 36 | 38 | ||
diff --git a/src/lib/libcrypto/doc/RSA_set_method.pod b/src/lib/libcrypto/doc/RSA_set_method.pod index 14917dd35f..0687c2242a 100644 --- a/src/lib/libcrypto/doc/RSA_set_method.pod +++ b/src/lib/libcrypto/doc/RSA_set_method.pod | |||
| @@ -11,52 +11,64 @@ RSA_null_method, RSA_flags, RSA_new_method - select RSA method | |||
| 11 | #include <openssl/rsa.h> | 11 | #include <openssl/rsa.h> |
| 12 | #include <openssl/engine.h> | 12 | #include <openssl/engine.h> |
| 13 | 13 | ||
| 14 | void RSA_set_default_openssl_method(RSA_METHOD *meth); | 14 | void RSA_set_default_method(const RSA_METHOD *meth); |
| 15 | 15 | ||
| 16 | RSA_METHOD *RSA_get_default_openssl_method(void); | 16 | RSA_METHOD *RSA_get_default_method(void); |
| 17 | 17 | ||
| 18 | int RSA_set_method(RSA *rsa, ENGINE *engine); | 18 | int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); |
| 19 | 19 | ||
| 20 | RSA_METHOD *RSA_get_method(RSA *rsa); | 20 | RSA_METHOD *RSA_get_method(const RSA *rsa); |
| 21 | 21 | ||
| 22 | RSA_METHOD *RSA_PKCS1_SSLeay(void); | 22 | RSA_METHOD *RSA_PKCS1_SSLeay(void); |
| 23 | 23 | ||
| 24 | RSA_METHOD *RSA_null_method(void); | 24 | RSA_METHOD *RSA_null_method(void); |
| 25 | 25 | ||
| 26 | int RSA_flags(RSA *rsa); | 26 | int RSA_flags(const RSA *rsa); |
| 27 | 27 | ||
| 28 | RSA *RSA_new_method(ENGINE *engine); | 28 | RSA *RSA_new_method(ENGINE *engine); |
| 29 | 29 | ||
| 30 | =head1 DESCRIPTION | 30 | =head1 DESCRIPTION |
| 31 | 31 | ||
| 32 | An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA | 32 | An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA |
| 33 | operations. By modifying the method, alternative implementations | 33 | operations. By modifying the method, alternative implementations such as |
| 34 | such as hardware accelerators may be used. | 34 | hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 35 | 35 | important information about how these RSA API functions are affected by the | |
| 36 | Initially, the default is to use the OpenSSL internal implementation. | 36 | use of B<ENGINE> API calls. |
| 37 | RSA_PKCS1_SSLeay() returns a pointer to that method. | 37 | |
| 38 | 38 | Initially, the default RSA_METHOD is the OpenSSL internal implementation, | |
| 39 | RSA_set_default_openssl_method() makes B<meth> the default method for all B<RSA> | 39 | as returned by RSA_PKCS1_SSLeay(). |
| 40 | structures created later. B<NB:> This is true only whilst the default engine | 40 | |
| 41 | for RSA operations remains as "openssl". ENGINEs provide an | 41 | RSA_set_default_method() makes B<meth> the default method for all RSA |
| 42 | encapsulation for implementations of one or more algorithms at a time, and all | 42 | structures created later. B<NB>: This is true only whilst no ENGINE has |
| 43 | the RSA functions mentioned here operate within the scope of the default | 43 | been set as a default for RSA, so this function is no longer recommended. |
| 44 | "openssl" engine. | 44 | |
| 45 | 45 | RSA_get_default_method() returns a pointer to the current default | |
| 46 | RSA_get_default_openssl_method() returns a pointer to the current default | 46 | RSA_METHOD. However, the meaningfulness of this result is dependant on |
| 47 | method for the "openssl" engine. | 47 | whether the ENGINE API is being used, so this function is no longer |
| 48 | 48 | recommended. | |
| 49 | RSA_set_method() selects B<engine> for all operations using the key | 49 | |
| 50 | B<rsa>. | 50 | RSA_set_method() selects B<meth> to perform all operations using the key |
| 51 | 51 | B<rsa>. This will replace the RSA_METHOD used by the RSA key and if the | |
| 52 | RSA_get_method() returns a pointer to the RSA_METHOD from the currently | 52 | previous method was supplied by an ENGINE, the handle to that ENGINE will |
| 53 | selected ENGINE for B<rsa>. | 53 | be released during the change. It is possible to have RSA keys that only |
| 54 | 54 | work with certain RSA_METHOD implementations (eg. from an ENGINE module | |
| 55 | RSA_flags() returns the B<flags> that are set for B<rsa>'s current method. | 55 | that supports embedded hardware-protected keys), and in such cases |
| 56 | attempting to change the RSA_METHOD for the key can have unexpected | ||
| 57 | results. | ||
| 58 | |||
| 59 | RSA_get_method() returns a pointer to the RSA_METHOD being used by B<rsa>. | ||
| 60 | This method may or may not be supplied by an ENGINE implementation, but if | ||
| 61 | it is, the return value can only be guaranteed to be valid as long as the | ||
| 62 | RSA key itself is valid and does not have its implementation changed by | ||
| 63 | RSA_set_method(). | ||
| 64 | |||
| 65 | RSA_flags() returns the B<flags> that are set for B<rsa>'s current | ||
| 66 | RSA_METHOD. See the BUGS section. | ||
| 56 | 67 | ||
| 57 | RSA_new_method() allocates and initializes an RSA structure so that | 68 | RSA_new_method() allocates and initializes an RSA structure so that |
| 58 | B<engine> will be used for the RSA operations. If B<engine> is NULL, | 69 | B<engine> will be used for the RSA operations. If B<engine> is NULL, the |
| 59 | the default engine for RSA operations is used. | 70 | default ENGINE for RSA operations is used, and if no default ENGINE is set, |
| 71 | the RSA_METHOD controlled by RSA_set_default_method() is used. | ||
| 60 | 72 | ||
| 61 | =head1 THE RSA_METHOD STRUCTURE | 73 | =head1 THE RSA_METHOD STRUCTURE |
| 62 | 74 | ||
| @@ -121,22 +133,45 @@ the default engine for RSA operations is used. | |||
| 121 | 133 | ||
| 122 | =head1 RETURN VALUES | 134 | =head1 RETURN VALUES |
| 123 | 135 | ||
| 124 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_openssl_method() | 136 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() |
| 125 | and RSA_get_method() return pointers to the respective RSA_METHODs. | 137 | and RSA_get_method() return pointers to the respective RSA_METHODs. |
| 126 | 138 | ||
| 127 | RSA_set_default_openssl_method() returns no value. | 139 | RSA_set_default_method() returns no value. |
| 128 | 140 | ||
| 129 | RSA_set_method() selects B<engine> as the engine that will be responsible for | 141 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation |
| 130 | all operations using the structure B<rsa>. If this function completes successfully, | 142 | that was replaced. However, this return value should probably be ignored |
| 131 | then the B<rsa> structure will have its own functional reference of B<engine>, so | 143 | because if it was supplied by an ENGINE, the pointer could be invalidated |
| 132 | the caller should remember to free their own reference to B<engine> when they are | 144 | at any time if the ENGINE is unloaded (in fact it could be unloaded as a |
| 133 | finished with it. NB: An ENGINE's RSA_METHOD can be retrieved (or set) by | 145 | result of the RSA_set_method() function releasing its handle to the |
| 134 | ENGINE_get_RSA() or ENGINE_set_RSA(). | 146 | ENGINE). For this reason, the return type may be replaced with a B<void> |
| 147 | declaration in a future release. | ||
| 135 | 148 | ||
| 136 | RSA_new_method() returns NULL and sets an error code that can be | 149 | RSA_new_method() returns NULL and sets an error code that can be obtained |
| 137 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise | 150 | by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise |
| 138 | it returns a pointer to the newly allocated structure. | 151 | it returns a pointer to the newly allocated structure. |
| 139 | 152 | ||
| 153 | =head1 NOTES | ||
| 154 | |||
| 155 | As of version 0.9.7, RSA_METHOD implementations are grouped together with | ||
| 156 | other algorithmic APIs (eg. DSA_METHOD, EVP_CIPHER, etc) into B<ENGINE> | ||
| 157 | modules. If a default ENGINE is specified for RSA functionality using an | ||
| 158 | ENGINE API function, that will override any RSA defaults set using the RSA | ||
| 159 | API (ie. RSA_set_default_method()). For this reason, the ENGINE API is the | ||
| 160 | recommended way to control default implementations for use in RSA and other | ||
| 161 | cryptographic algorithms. | ||
| 162 | |||
| 163 | =head1 BUGS | ||
| 164 | |||
| 165 | The behaviour of RSA_flags() is a mis-feature that is left as-is for now | ||
| 166 | to avoid creating compatibility problems. RSA functionality, such as the | ||
| 167 | encryption functions, are controlled by the B<flags> value in the RSA key | ||
| 168 | itself, not by the B<flags> value in the RSA_METHOD attached to the RSA key | ||
| 169 | (which is what this function returns). If the flags element of an RSA key | ||
| 170 | is changed, the changes will be honoured by RSA functionality but will not | ||
| 171 | be reflected in the return value of the RSA_flags() function - in effect | ||
| 172 | RSA_flags() behaves more like an RSA_default_flags() function (which does | ||
| 173 | not currently exist). | ||
| 174 | |||
| 140 | =head1 SEE ALSO | 175 | =head1 SEE ALSO |
| 141 | 176 | ||
| 142 | L<rsa(3)|rsa(3)>, L<RSA_new(3)|RSA_new(3)> | 177 | L<rsa(3)|rsa(3)>, L<RSA_new(3)|RSA_new(3)> |
| @@ -149,8 +184,14 @@ well as the rsa_sign and rsa_verify components of RSA_METHOD were | |||
| 149 | added in OpenSSL 0.9.4. | 184 | added in OpenSSL 0.9.4. |
| 150 | 185 | ||
| 151 | RSA_set_default_openssl_method() and RSA_get_default_openssl_method() | 186 | RSA_set_default_openssl_method() and RSA_get_default_openssl_method() |
| 152 | replaced RSA_set_default_method() and RSA_get_default_method() respectively, | 187 | replaced RSA_set_default_method() and RSA_get_default_method() |
| 153 | and RSA_set_method() and RSA_new_method() were altered to use B<ENGINE>s | 188 | respectively, and RSA_set_method() and RSA_new_method() were altered to use |
| 154 | rather than B<RSA_METHOD>s during development of OpenSSL 0.9.6. | 189 | B<ENGINE>s rather than B<RSA_METHOD>s during development of the engine |
| 190 | version of OpenSSL 0.9.6. For 0.9.7, the handling of defaults in the ENGINE | ||
| 191 | API was restructured so that this change was reversed, and behaviour of the | ||
| 192 | other functions resembled more closely the previous behaviour. The | ||
| 193 | behaviour of defaults in the ENGINE API now transparently overrides the | ||
| 194 | behaviour of defaults in the RSA API without requiring changing these | ||
| 195 | function prototypes. | ||
| 155 | 196 | ||
| 156 | =cut | 197 | =cut |
diff --git a/src/lib/libcrypto/doc/RSA_size.pod b/src/lib/libcrypto/doc/RSA_size.pod index b36b4d58d5..5b7f835f95 100644 --- a/src/lib/libcrypto/doc/RSA_size.pod +++ b/src/lib/libcrypto/doc/RSA_size.pod | |||
| @@ -8,7 +8,7 @@ RSA_size - get RSA modulus size | |||
| 8 | 8 | ||
| 9 | #include <openssl/rsa.h> | 9 | #include <openssl/rsa.h> |
| 10 | 10 | ||
| 11 | int RSA_size(RSA *rsa); | 11 | int RSA_size(const RSA *rsa); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libcrypto/doc/dh.pod b/src/lib/libcrypto/doc/dh.pod index b4be4be405..c3ccd06207 100644 --- a/src/lib/libcrypto/doc/dh.pod +++ b/src/lib/libcrypto/doc/dh.pod | |||
| @@ -12,20 +12,20 @@ dh - Diffie-Hellman key agreement | |||
| 12 | DH * DH_new(void); | 12 | DH * DH_new(void); |
| 13 | void DH_free(DH *dh); | 13 | void DH_free(DH *dh); |
| 14 | 14 | ||
| 15 | int DH_size(DH *dh); | 15 | int DH_size(const DH *dh); |
| 16 | 16 | ||
| 17 | DH * DH_generate_parameters(int prime_len, int generator, | 17 | DH * DH_generate_parameters(int prime_len, int generator, |
| 18 | void (*callback)(int, int, void *), void *cb_arg); | 18 | void (*callback)(int, int, void *), void *cb_arg); |
| 19 | int DH_check(DH *dh, int *codes); | 19 | int DH_check(const DH *dh, int *codes); |
| 20 | 20 | ||
| 21 | int DH_generate_key(DH *dh); | 21 | int DH_generate_key(DH *dh); |
| 22 | int DH_compute_key(unsigned char *key, BIGNUM *pub_key, DH *dh); | 22 | int DH_compute_key(unsigned char *key, BIGNUM *pub_key, DH *dh); |
| 23 | 23 | ||
| 24 | void DH_set_default_openssl_method(DH_METHOD *meth); | 24 | void DH_set_default_method(const DH_METHOD *meth); |
| 25 | DH_METHOD *DH_get_default_openssl_method(void); | 25 | const DH_METHOD *DH_get_default_method(void); |
| 26 | int DH_set_method(DH *dh, ENGINE *engine); | 26 | int DH_set_method(DH *dh, const DH_METHOD *meth); |
| 27 | DH *DH_new_method(ENGINE *engine); | 27 | DH *DH_new_method(ENGINE *engine); |
| 28 | DH_METHOD *DH_OpenSSL(void); | 28 | const DH_METHOD *DH_OpenSSL(void); |
| 29 | 29 | ||
| 30 | int DH_get_ex_new_index(long argl, char *argp, int (*new_func)(), | 30 | int DH_get_ex_new_index(long argl, char *argp, int (*new_func)(), |
| 31 | int (*dup_func)(), void (*free_func)()); | 31 | int (*dup_func)(), void (*free_func)()); |
| @@ -33,10 +33,10 @@ dh - Diffie-Hellman key agreement | |||
| 33 | char *DH_get_ex_data(DH *d, int idx); | 33 | char *DH_get_ex_data(DH *d, int idx); |
| 34 | 34 | ||
| 35 | DH * d2i_DHparams(DH **a, unsigned char **pp, long length); | 35 | DH * d2i_DHparams(DH **a, unsigned char **pp, long length); |
| 36 | int i2d_DHparams(DH *a, unsigned char **pp); | 36 | int i2d_DHparams(const DH *a, unsigned char **pp); |
| 37 | 37 | ||
| 38 | int DHparams_print_fp(FILE *fp, DH *x); | 38 | int DHparams_print_fp(FILE *fp, const DH *x); |
| 39 | int DHparams_print(BIO *bp, DH *x); | 39 | int DHparams_print(BIO *bp, const DH *x); |
| 40 | 40 | ||
| 41 | =head1 DESCRIPTION | 41 | =head1 DESCRIPTION |
| 42 | 42 | ||
| @@ -57,11 +57,20 @@ The B<DH> structure consists of several BIGNUM components. | |||
| 57 | }; | 57 | }; |
| 58 | DH | 58 | DH |
| 59 | 59 | ||
| 60 | Note that DH keys may use non-standard B<DH_METHOD> implementations, | ||
| 61 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 62 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 63 | will not be used by the implementation or may be used for alternative data | ||
| 64 | storage. For this reason, applications should generally avoid using DH | ||
| 65 | structure elements directly and instead use API functions to query or | ||
| 66 | modify keys. | ||
| 67 | |||
| 60 | =head1 SEE ALSO | 68 | =head1 SEE ALSO |
| 61 | 69 | ||
| 62 | L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<err(3)|err(3)>, | 70 | L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<err(3)|err(3)>, |
| 63 | L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<DH_set_method(3)|DH_set_method(3)>, | 71 | L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<engine(3)|engine(3)>, |
| 64 | L<DH_new(3)|DH_new(3)>, L<DH_get_ex_new_index(3)|DH_get_ex_new_index(3)>, | 72 | L<DH_set_method(3)|DH_set_method(3)>, L<DH_new(3)|DH_new(3)>, |
| 73 | L<DH_get_ex_new_index(3)|DH_get_ex_new_index(3)>, | ||
| 65 | L<DH_generate_parameters(3)|DH_generate_parameters(3)>, | 74 | L<DH_generate_parameters(3)|DH_generate_parameters(3)>, |
| 66 | L<DH_compute_key(3)|DH_compute_key(3)>, L<d2i_DHparams(3)|d2i_DHparams(3)>, | 75 | L<DH_compute_key(3)|DH_compute_key(3)>, L<d2i_DHparams(3)|d2i_DHparams(3)>, |
| 67 | L<RSA_print(3)|RSA_print(3)> | 76 | L<RSA_print(3)|RSA_print(3)> |
diff --git a/src/lib/libcrypto/doc/dsa.pod b/src/lib/libcrypto/doc/dsa.pod index 573500204b..ae2e5d81f9 100644 --- a/src/lib/libcrypto/doc/dsa.pod +++ b/src/lib/libcrypto/doc/dsa.pod | |||
| @@ -12,13 +12,13 @@ dsa - Digital Signature Algorithm | |||
| 12 | DSA * DSA_new(void); | 12 | DSA * DSA_new(void); |
| 13 | void DSA_free(DSA *dsa); | 13 | void DSA_free(DSA *dsa); |
| 14 | 14 | ||
| 15 | int DSA_size(DSA *dsa); | 15 | int DSA_size(const DSA *dsa); |
| 16 | 16 | ||
| 17 | DSA * DSA_generate_parameters(int bits, unsigned char *seed, | 17 | DSA * DSA_generate_parameters(int bits, unsigned char *seed, |
| 18 | int seed_len, int *counter_ret, unsigned long *h_ret, | 18 | int seed_len, int *counter_ret, unsigned long *h_ret, |
| 19 | void (*callback)(int, int, void *), void *cb_arg); | 19 | void (*callback)(int, int, void *), void *cb_arg); |
| 20 | 20 | ||
| 21 | DH * DSA_dup_DH(DSA *r); | 21 | DH * DSA_dup_DH(const DSA *r); |
| 22 | 22 | ||
| 23 | int DSA_generate_key(DSA *dsa); | 23 | int DSA_generate_key(DSA *dsa); |
| 24 | 24 | ||
| @@ -27,13 +27,13 @@ dsa - Digital Signature Algorithm | |||
| 27 | int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp, | 27 | int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp, |
| 28 | BIGNUM **rp); | 28 | BIGNUM **rp); |
| 29 | int DSA_verify(int dummy, const unsigned char *dgst, int len, | 29 | int DSA_verify(int dummy, const unsigned char *dgst, int len, |
| 30 | unsigned char *sigbuf, int siglen, DSA *dsa); | 30 | const unsigned char *sigbuf, int siglen, DSA *dsa); |
| 31 | 31 | ||
| 32 | void DSA_set_default_openssl_method(DSA_METHOD *meth); | 32 | void DSA_set_default_method(const DSA_METHOD *meth); |
| 33 | DSA_METHOD *DSA_get_default_openssl_method(void); | 33 | const DSA_METHOD *DSA_get_default_method(void); |
| 34 | int DSA_set_method(DSA *dsa, ENGINE *engine); | 34 | int DSA_set_method(DSA *dsa, const DSA_METHOD *meth); |
| 35 | DSA *DSA_new_method(ENGINE *engine); | 35 | DSA *DSA_new_method(ENGINE *engine); |
| 36 | DSA_METHOD *DSA_OpenSSL(void); | 36 | const DSA_METHOD *DSA_OpenSSL(void); |
| 37 | 37 | ||
| 38 | int DSA_get_ex_new_index(long argl, char *argp, int (*new_func)(), | 38 | int DSA_get_ex_new_index(long argl, char *argp, int (*new_func)(), |
| 39 | int (*dup_func)(), void (*free_func)()); | 39 | int (*dup_func)(), void (*free_func)()); |
| @@ -42,7 +42,7 @@ dsa - Digital Signature Algorithm | |||
| 42 | 42 | ||
| 43 | DSA_SIG *DSA_SIG_new(void); | 43 | DSA_SIG *DSA_SIG_new(void); |
| 44 | void DSA_SIG_free(DSA_SIG *a); | 44 | void DSA_SIG_free(DSA_SIG *a); |
| 45 | int i2d_DSA_SIG(DSA_SIG *a, unsigned char **pp); | 45 | int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); |
| 46 | DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, unsigned char **pp, long length); | 46 | DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, unsigned char **pp, long length); |
| 47 | 47 | ||
| 48 | DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); | 48 | DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); |
| @@ -52,14 +52,14 @@ dsa - Digital Signature Algorithm | |||
| 52 | DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); | 52 | DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); |
| 53 | DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); | 53 | DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); |
| 54 | DSA * d2i_DSAparams(DSA **a, unsigned char **pp, long length); | 54 | DSA * d2i_DSAparams(DSA **a, unsigned char **pp, long length); |
| 55 | int i2d_DSAPublicKey(DSA *a, unsigned char **pp); | 55 | int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); |
| 56 | int i2d_DSAPrivateKey(DSA *a, unsigned char **pp); | 56 | int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp); |
| 57 | int i2d_DSAparams(DSA *a,unsigned char **pp); | 57 | int i2d_DSAparams(const DSA *a,unsigned char **pp); |
| 58 | 58 | ||
| 59 | int DSAparams_print(BIO *bp, DSA *x); | 59 | int DSAparams_print(BIO *bp, const DSA *x); |
| 60 | int DSAparams_print_fp(FILE *fp, DSA *x); | 60 | int DSAparams_print_fp(FILE *fp, const DSA *x); |
| 61 | int DSA_print(BIO *bp, DSA *x, int off); | 61 | int DSA_print(BIO *bp, const DSA *x, int off); |
| 62 | int DSA_print_fp(FILE *bp, DSA *x, int off); | 62 | int DSA_print_fp(FILE *bp, const DSA *x, int off); |
| 63 | 63 | ||
| 64 | =head1 DESCRIPTION | 64 | =head1 DESCRIPTION |
| 65 | 65 | ||
| @@ -85,6 +85,14 @@ The B<DSA> structure consists of several BIGNUM components. | |||
| 85 | 85 | ||
| 86 | In public keys, B<priv_key> is NULL. | 86 | In public keys, B<priv_key> is NULL. |
| 87 | 87 | ||
| 88 | Note that DSA keys may use non-standard B<DSA_METHOD> implementations, | ||
| 89 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 90 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 91 | will not be used by the implementation or may be used for alternative data | ||
| 92 | storage. For this reason, applications should generally avoid using DSA | ||
| 93 | structure elements directly and instead use API functions to query or | ||
| 94 | modify keys. | ||
| 95 | |||
| 88 | =head1 CONFORMING TO | 96 | =head1 CONFORMING TO |
| 89 | 97 | ||
| 90 | US Federal Information Processing Standard FIPS 186 (Digital Signature | 98 | US Federal Information Processing Standard FIPS 186 (Digital Signature |
diff --git a/src/lib/libcrypto/doc/evp.pod b/src/lib/libcrypto/doc/evp.pod index edf47dbde6..b3ca14314f 100644 --- a/src/lib/libcrypto/doc/evp.pod +++ b/src/lib/libcrypto/doc/evp.pod | |||
| @@ -24,6 +24,13 @@ functions. The B<EVP_Digest>I<...> functions provide message digests. | |||
| 24 | 24 | ||
| 25 | Algorithms are loaded with OpenSSL_add_all_algorithms(3). | 25 | Algorithms are loaded with OpenSSL_add_all_algorithms(3). |
| 26 | 26 | ||
| 27 | All the symmetric algorithms (ciphers) and digests can be replaced by ENGINE | ||
| 28 | modules providing alternative implementations. If ENGINE implementations of | ||
| 29 | ciphers or digests are registered as defaults, then the various EVP functions | ||
| 30 | will automatically use those implementations automatically in preference to | ||
| 31 | built in software implementations. For more information, consult the engine(3) | ||
| 32 | man page. | ||
| 33 | |||
| 27 | =head1 SEE ALSO | 34 | =head1 SEE ALSO |
| 28 | 35 | ||
| 29 | L<EVP_DigestInit(3)|EVP_DigestInit(3)>, | 36 | L<EVP_DigestInit(3)|EVP_DigestInit(3)>, |
| @@ -32,6 +39,7 @@ L<EVP_OpenInit(3)|EVP_OpenInit(3)>, | |||
| 32 | L<EVP_SealInit(3)|EVP_SealInit(3)>, | 39 | L<EVP_SealInit(3)|EVP_SealInit(3)>, |
| 33 | L<EVP_SignInit(3)|EVP_SignInit(3)>, | 40 | L<EVP_SignInit(3)|EVP_SignInit(3)>, |
| 34 | L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>, | 41 | L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>, |
| 35 | L<OpenSSL_add_all_algorithms(3)|OpenSSL_add_all_algorithms(3)> | 42 | L<OpenSSL_add_all_algorithms(3)|OpenSSL_add_all_algorithms(3)>, |
| 43 | L<engine(3)|engine(3)> | ||
| 36 | 44 | ||
| 37 | =cut | 45 | =cut |
diff --git a/src/lib/libcrypto/doc/rsa.pod b/src/lib/libcrypto/doc/rsa.pod index 2b93a12b65..45ac53ffc1 100644 --- a/src/lib/libcrypto/doc/rsa.pod +++ b/src/lib/libcrypto/doc/rsa.pod | |||
| @@ -16,13 +16,17 @@ rsa - RSA public key cryptosystem | |||
| 16 | unsigned char *to, RSA *rsa, int padding); | 16 | unsigned char *to, RSA *rsa, int padding); |
| 17 | int RSA_private_decrypt(int flen, unsigned char *from, | 17 | int RSA_private_decrypt(int flen, unsigned char *from, |
| 18 | unsigned char *to, RSA *rsa, int padding); | 18 | unsigned char *to, RSA *rsa, int padding); |
| 19 | int RSA_private_encrypt(int flen, unsigned char *from, | ||
| 20 | unsigned char *to, RSA *rsa,int padding); | ||
| 21 | int RSA_public_decrypt(int flen, unsigned char *from, | ||
| 22 | unsigned char *to, RSA *rsa,int padding); | ||
| 19 | 23 | ||
| 20 | int RSA_sign(int type, unsigned char *m, unsigned int m_len, | 24 | int RSA_sign(int type, unsigned char *m, unsigned int m_len, |
| 21 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); | 25 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); |
| 22 | int RSA_verify(int type, unsigned char *m, unsigned int m_len, | 26 | int RSA_verify(int type, unsigned char *m, unsigned int m_len, |
| 23 | unsigned char *sigbuf, unsigned int siglen, RSA *rsa); | 27 | unsigned char *sigbuf, unsigned int siglen, RSA *rsa); |
| 24 | 28 | ||
| 25 | int RSA_size(RSA *rsa); | 29 | int RSA_size(const RSA *rsa); |
| 26 | 30 | ||
| 27 | RSA *RSA_generate_key(int num, unsigned long e, | 31 | RSA *RSA_generate_key(int num, unsigned long e, |
| 28 | void (*callback)(int,int,void *), void *cb_arg); | 32 | void (*callback)(int,int,void *), void *cb_arg); |
| @@ -32,13 +36,13 @@ rsa - RSA public key cryptosystem | |||
| 32 | int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | 36 | int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); |
| 33 | void RSA_blinding_off(RSA *rsa); | 37 | void RSA_blinding_off(RSA *rsa); |
| 34 | 38 | ||
| 35 | void RSA_set_default_openssl_method(RSA_METHOD *meth); | 39 | void RSA_set_default_method(const RSA_METHOD *meth); |
| 36 | RSA_METHOD *RSA_get_default_openssl_method(void); | 40 | const RSA_METHOD *RSA_get_default_method(void); |
| 37 | int RSA_set_method(RSA *rsa, ENGINE *engine); | 41 | int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); |
| 38 | RSA_METHOD *RSA_get_method(RSA *rsa); | 42 | const RSA_METHOD *RSA_get_method(const RSA *rsa); |
| 39 | RSA_METHOD *RSA_PKCS1_SSLeay(void); | 43 | RSA_METHOD *RSA_PKCS1_SSLeay(void); |
| 40 | RSA_METHOD *RSA_null_method(void); | 44 | RSA_METHOD *RSA_null_method(void); |
| 41 | int RSA_flags(RSA *rsa); | 45 | int RSA_flags(const RSA *rsa); |
| 42 | RSA *RSA_new_method(ENGINE *engine); | 46 | RSA *RSA_new_method(ENGINE *engine); |
| 43 | 47 | ||
| 44 | int RSA_print(BIO *bp, RSA *x, int offset); | 48 | int RSA_print(BIO *bp, RSA *x, int offset); |
| @@ -49,11 +53,6 @@ rsa - RSA public key cryptosystem | |||
| 49 | int RSA_set_ex_data(RSA *r,int idx,char *arg); | 53 | int RSA_set_ex_data(RSA *r,int idx,char *arg); |
| 50 | char *RSA_get_ex_data(RSA *r, int idx); | 54 | char *RSA_get_ex_data(RSA *r, int idx); |
| 51 | 55 | ||
| 52 | int RSA_private_encrypt(int flen, unsigned char *from, | ||
| 53 | unsigned char *to, RSA *rsa,int padding); | ||
| 54 | int RSA_public_decrypt(int flen, unsigned char *from, | ||
| 55 | unsigned char *to, RSA *rsa,int padding); | ||
| 56 | |||
| 57 | int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m, | 56 | int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m, |
| 58 | unsigned int m_len, unsigned char *sigret, unsigned int *siglen, | 57 | unsigned int m_len, unsigned char *sigret, unsigned int *siglen, |
| 59 | RSA *rsa); | 58 | RSA *rsa); |
| @@ -90,6 +89,14 @@ B<p>, B<q>, B<dmp1>, B<dmq1> and B<iqmp> may be B<NULL> in private | |||
| 90 | keys, but the RSA operations are much faster when these values are | 89 | keys, but the RSA operations are much faster when these values are |
| 91 | available. | 90 | available. |
| 92 | 91 | ||
| 92 | Note that RSA keys may use non-standard B<RSA_METHOD> implementations, | ||
| 93 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 94 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 95 | will not be used by the implementation or may be used for alternative data | ||
| 96 | storage. For this reason, applications should generally avoid using RSA | ||
| 97 | structure elements directly and instead use API functions to query or | ||
| 98 | modify keys. | ||
| 99 | |||
| 93 | =head1 CONFORMING TO | 100 | =head1 CONFORMING TO |
| 94 | 101 | ||
| 95 | SSL, PKCS #1 v2.0 | 102 | SSL, PKCS #1 v2.0 |
| @@ -101,7 +108,7 @@ RSA was covered by a US patent which expired in September 2000. | |||
| 101 | =head1 SEE ALSO | 108 | =head1 SEE ALSO |
| 102 | 109 | ||
| 103 | L<rsa(1)|rsa(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, | 110 | L<rsa(1)|rsa(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, |
| 104 | L<rand(3)|rand(3)>, L<RSA_new(3)|RSA_new(3)>, | 111 | L<rand(3)|rand(3)>, L<engine(3)|engine(3)>, L<RSA_new(3)|RSA_new(3)>, |
| 105 | L<RSA_public_encrypt(3)|RSA_public_encrypt(3)>, | 112 | L<RSA_public_encrypt(3)|RSA_public_encrypt(3)>, |
| 106 | L<RSA_sign(3)|RSA_sign(3)>, L<RSA_size(3)|RSA_size(3)>, | 113 | L<RSA_sign(3)|RSA_sign(3)>, L<RSA_size(3)|RSA_size(3)>, |
| 107 | L<RSA_generate_key(3)|RSA_generate_key(3)>, | 114 | L<RSA_generate_key(3)|RSA_generate_key(3)>, |
diff --git a/src/lib/libcrypto/engine/hw_4758_cca.c b/src/lib/libcrypto/engine/hw_4758_cca.c index f404b1a3b8..6d41b9ed2a 100644 --- a/src/lib/libcrypto/engine/hw_4758_cca.c +++ b/src/lib/libcrypto/engine/hw_4758_cca.c | |||
| @@ -953,7 +953,7 @@ static void cca_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int idx, | |||
| 953 | #ifdef ENGINE_DYNAMIC_SUPPORT | 953 | #ifdef ENGINE_DYNAMIC_SUPPORT |
| 954 | static int bind_fn(ENGINE *e, const char *id) | 954 | static int bind_fn(ENGINE *e, const char *id) |
| 955 | { | 955 | { |
| 956 | if(id && (strcmp(id, engine_cswift_id) != 0)) | 956 | if(id && (strcmp(id, engine_4758_cca_id) != 0)) |
| 957 | return 0; | 957 | return 0; |
| 958 | if(!bind_helper(e)) | 958 | if(!bind_helper(e)) |
| 959 | return 0; | 959 | return 0; |
diff --git a/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c index f946389b8a..b8aab545db 100644 --- a/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c +++ b/src/lib/libcrypto/engine/hw_openbsd_dev_crypto.c | |||
| @@ -408,7 +408,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ | 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ |
| 409 | cryp.len=len; | 409 | cryp.len=len; |
| 410 | cryp.src=(caddr_t)data; | 410 | cryp.src=(caddr_t)data; |
| 411 | cryp.dst=(caddr_t)data; // FIXME!!! | 411 | cryp.dst=(caddr_t)data; /* FIXME!!! */ |
| 412 | cryp.mac=(caddr_t)md; | 412 | cryp.mac=(caddr_t)md; |
| 413 | 413 | ||
| 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
| @@ -420,7 +420,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 420 | dcopy=OPENSSL_malloc(len); | 420 | dcopy=OPENSSL_malloc(len); |
| 421 | memcpy(dcopy,data,len); | 421 | memcpy(dcopy,data,len); |
| 422 | cryp.src=dcopy; | 422 | cryp.src=dcopy; |
| 423 | cryp.dst=cryp.src; // FIXME!!! | 423 | cryp.dst=cryp.src; /* FIXME!!! */ |
| 424 | 424 | ||
| 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
| 426 | { | 426 | { |
| @@ -437,7 +437,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 437 | return 0; | 437 | return 0; |
| 438 | } | 438 | } |
| 439 | } | 439 | } |
| 440 | // printf("done\n"); | 440 | /* printf("done\n"); */ |
| 441 | 441 | ||
| 442 | return 1; | 442 | return 1; |
| 443 | } | 443 | } |
| @@ -483,7 +483,7 @@ static int dev_crypto_md5_copy(EVP_MD_CTX *to,const EVP_MD_CTX *from) | |||
| 483 | const MD_DATA *from_md=from->md_data; | 483 | const MD_DATA *from_md=from->md_data; |
| 484 | MD_DATA *to_md=to->md_data; | 484 | MD_DATA *to_md=to->md_data; |
| 485 | 485 | ||
| 486 | // How do we copy sessions? | 486 | /* How do we copy sessions? */ |
| 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); | 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); |
| 488 | 488 | ||
| 489 | to_md->data=OPENSSL_malloc(from_md->len); | 489 | to_md->data=OPENSSL_malloc(from_md->len); |
| @@ -530,7 +530,7 @@ static const EVP_MD md5_md= | |||
| 530 | NID_md5, | 530 | NID_md5, |
| 531 | NID_md5WithRSAEncryption, | 531 | NID_md5WithRSAEncryption, |
| 532 | MD5_DIGEST_LENGTH, | 532 | MD5_DIGEST_LENGTH, |
| 533 | EVP_MD_FLAG_ONESHOT, // XXX: set according to device info... | 533 | EVP_MD_FLAG_ONESHOT, /* XXX: set according to device info... */ |
| 534 | dev_crypto_md5_init, | 534 | dev_crypto_md5_init, |
| 535 | dev_crypto_md5_update, | 535 | dev_crypto_md5_update, |
| 536 | dev_crypto_md5_final, | 536 | dev_crypto_md5_final, |
diff --git a/src/lib/libcrypto/engine/hw_ubsec.c b/src/lib/libcrypto/engine/hw_ubsec.c index 63397f868c..ed8401ec16 100644 --- a/src/lib/libcrypto/engine/hw_ubsec.c +++ b/src/lib/libcrypto/engine/hw_ubsec.c | |||
| @@ -93,7 +93,7 @@ static int ubsec_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa); | |||
| 93 | static int ubsec_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | 93 | static int ubsec_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, |
| 94 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | 94 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); |
| 95 | #ifndef OPENSSL_NO_DSA | 95 | #ifndef OPENSSL_NO_DSA |
| 96 | #if NOT_USED | 96 | #ifdef NOT_USED |
| 97 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, | 97 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, |
| 98 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, | 98 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, |
| 99 | BN_CTX *ctx, BN_MONT_CTX *in_mont); | 99 | BN_CTX *ctx, BN_MONT_CTX *in_mont); |
| @@ -113,7 +113,7 @@ static int ubsec_dh_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh) | |||
| 113 | static int ubsec_dh_generate_key(DH *dh); | 113 | static int ubsec_dh_generate_key(DH *dh); |
| 114 | #endif | 114 | #endif |
| 115 | 115 | ||
| 116 | #if NOT_USED | 116 | #ifdef NOT_USED |
| 117 | static int ubsec_rand_bytes(unsigned char *buf, int num); | 117 | static int ubsec_rand_bytes(unsigned char *buf, int num); |
| 118 | static int ubsec_rand_status(void); | 118 | static int ubsec_rand_status(void); |
| 119 | #endif | 119 | #endif |
| @@ -663,7 +663,7 @@ static int ubsec_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
| 663 | } | 663 | } |
| 664 | 664 | ||
| 665 | #ifndef OPENSSL_NO_DSA | 665 | #ifndef OPENSSL_NO_DSA |
| 666 | #if NOT_USED | 666 | #ifdef NOT_USED |
| 667 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, | 667 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, |
| 668 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, | 668 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, |
| 669 | BN_CTX *ctx, BN_MONT_CTX *in_mont) | 669 | BN_CTX *ctx, BN_MONT_CTX *in_mont) |
| @@ -987,7 +987,7 @@ err: | |||
| 987 | } | 987 | } |
| 988 | #endif | 988 | #endif |
| 989 | 989 | ||
| 990 | #if NOT_USED | 990 | #ifdef NOT_USED |
| 991 | static int ubsec_rand_bytes(unsigned char * buf, | 991 | static int ubsec_rand_bytes(unsigned char * buf, |
| 992 | int num) | 992 | int num) |
| 993 | { | 993 | { |
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_locl.h index 7b088b4848..4d81a3bf4c 100644 --- a/src/lib/libcrypto/evp/evp_locl.h +++ b/src/lib/libcrypto/evp/evp_locl.h | |||
| @@ -124,17 +124,17 @@ const EVP_CIPHER *EVP_##cname##_##mode(void) { return &cname##_##mode; } | |||
| 124 | BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ | 124 | BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ |
| 125 | iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl) | 125 | iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl) |
| 126 | 126 | ||
| 127 | #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, block_size, key_len, \ | 127 | #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ |
| 128 | iv_len, cbits, flags, init_key, cleanup, \ | 128 | iv_len, cbits, flags, init_key, cleanup, \ |
| 129 | set_asn1, get_asn1, ctrl) \ | 129 | set_asn1, get_asn1, ctrl) \ |
| 130 | BLOCK_CIPHER_def1(cname, cfb##cbits, cfb, CFB, kstruct, nid, block_size, \ | 130 | BLOCK_CIPHER_def1(cname, cfb##cbits, cfb, CFB, kstruct, nid, 1, \ |
| 131 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ | 131 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ |
| 132 | get_asn1, ctrl) | 132 | get_asn1, ctrl) |
| 133 | 133 | ||
| 134 | #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, block_size, key_len, \ | 134 | #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ |
| 135 | iv_len, cbits, flags, init_key, cleanup, \ | 135 | iv_len, cbits, flags, init_key, cleanup, \ |
| 136 | set_asn1, get_asn1, ctrl) \ | 136 | set_asn1, get_asn1, ctrl) \ |
| 137 | BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, block_size, \ | 137 | BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \ |
| 138 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ | 138 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ |
| 139 | get_asn1, ctrl) | 139 | get_asn1, ctrl) |
| 140 | 140 | ||
| @@ -149,9 +149,9 @@ BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ | |||
| 149 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 149 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 150 | BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ | 150 | BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ |
| 151 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 151 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 152 | BLOCK_CIPHER_def_cfb(cname, kstruct, nid, block_size, key_len, iv_len, cbits, \ | 152 | BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, iv_len, cbits, \ |
| 153 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 153 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 154 | BLOCK_CIPHER_def_ofb(cname, kstruct, nid, block_size, key_len, iv_len, cbits, \ | 154 | BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, iv_len, cbits, \ |
| 155 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 155 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 156 | BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ | 156 | BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ |
| 157 | init_key, cleanup, set_asn1, get_asn1, ctrl) | 157 | init_key, cleanup, set_asn1, get_asn1, ctrl) |
diff --git a/src/lib/libcrypto/krb5/Makefile.ssl b/src/lib/libcrypto/krb5/Makefile.ssl index caf111be8d..7ad0cbb0bc 100644 --- a/src/lib/libcrypto/krb5/Makefile.ssl +++ b/src/lib/libcrypto/krb5/Makefile.ssl | |||
| @@ -45,13 +45,13 @@ lib: $(LIBOBJ) | |||
| 45 | @touch lib | 45 | @touch lib |
| 46 | 46 | ||
| 47 | files: | 47 | files: |
| 48 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 48 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 49 | 49 | ||
| 50 | links: | 50 | links: |
| 51 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile | 51 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile ; |
| 52 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 53 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 55 | 55 | ||
| 56 | install: | 56 | install: |
| 57 | @for i in $(EXHEADER) ; \ | 57 | @for i in $(EXHEADER) ; \ |
diff --git a/src/lib/libcrypto/mem.c b/src/lib/libcrypto/mem.c index effec714e8..a7826908e6 100644 --- a/src/lib/libcrypto/mem.c +++ b/src/lib/libcrypto/mem.c | |||
| @@ -303,6 +303,9 @@ void *CRYPTO_realloc(void *str, int num, const char *file, int line) | |||
| 303 | { | 303 | { |
| 304 | void *ret = NULL; | 304 | void *ret = NULL; |
| 305 | 305 | ||
| 306 | if (str == NULL) | ||
| 307 | return CRYPTO_malloc(num, file, line); | ||
| 308 | |||
| 306 | if (realloc_debug_func != NULL) | 309 | if (realloc_debug_func != NULL) |
| 307 | realloc_debug_func(str, NULL, num, file, line, 0); | 310 | realloc_debug_func(str, NULL, num, file, line, 0); |
| 308 | ret = realloc_ex_func(str,num,file,line); | 311 | ret = realloc_ex_func(str,num,file,line); |
diff --git a/src/lib/libcrypto/objects/obj_dat.c b/src/lib/libcrypto/objects/obj_dat.c index 02c3719f04..ce779dc1b5 100644 --- a/src/lib/libcrypto/objects/obj_dat.c +++ b/src/lib/libcrypto/objects/obj_dat.c | |||
| @@ -425,7 +425,7 @@ ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name) | |||
| 425 | a2d_ASN1_OBJECT(p,i,s,-1); | 425 | a2d_ASN1_OBJECT(p,i,s,-1); |
| 426 | 426 | ||
| 427 | p=buf; | 427 | p=buf; |
| 428 | op=d2i_ASN1_OBJECT(NULL,&p,i); | 428 | op=d2i_ASN1_OBJECT(NULL,&p,j); |
| 429 | OPENSSL_free(buf); | 429 | OPENSSL_free(buf); |
| 430 | return op; | 430 | return op; |
| 431 | } | 431 | } |
diff --git a/src/lib/libcrypto/ocsp/Makefile.ssl b/src/lib/libcrypto/ocsp/Makefile.ssl index 44eacbbb13..2be98179ae 100644 --- a/src/lib/libcrypto/ocsp/Makefile.ssl +++ b/src/lib/libcrypto/ocsp/Makefile.ssl | |||
| @@ -47,13 +47,13 @@ lib: $(LIBOBJ) | |||
| 47 | @touch lib | 47 | @touch lib |
| 48 | 48 | ||
| 49 | files: | 49 | files: |
| 50 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 51 | 51 | ||
| 52 | links: | 52 | links: |
| 53 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile | 53 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile ; |
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 55 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 56 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 57 | 57 | ||
| 58 | install: | 58 | install: |
| 59 | @for i in $(EXHEADER) ; \ | 59 | @for i in $(EXHEADER) ; \ |
diff --git a/src/lib/libcrypto/pem/pem_lib.c b/src/lib/libcrypto/pem/pem_lib.c index 18b751a91a..a8db6ffbf5 100644 --- a/src/lib/libcrypto/pem/pem_lib.c +++ b/src/lib/libcrypto/pem/pem_lib.c | |||
| @@ -366,8 +366,11 @@ err: | |||
| 366 | memset(iv,0,sizeof(iv)); | 366 | memset(iv,0,sizeof(iv)); |
| 367 | memset((char *)&ctx,0,sizeof(ctx)); | 367 | memset((char *)&ctx,0,sizeof(ctx)); |
| 368 | memset(buf,0,PEM_BUFSIZE); | 368 | memset(buf,0,PEM_BUFSIZE); |
| 369 | memset(data,0,(unsigned int)dsize); | 369 | if (data != NULL) |
| 370 | OPENSSL_free(data); | 370 | { |
| 371 | memset(data,0,(unsigned int)dsize); | ||
| 372 | OPENSSL_free(data); | ||
| 373 | } | ||
| 371 | return(ret); | 374 | return(ret); |
| 372 | } | 375 | } |
| 373 | 376 | ||
diff --git a/src/lib/libcrypto/pkcs12/p12_asn.c b/src/lib/libcrypto/pkcs12/p12_asn.c index c327bdba03..a3739fee1a 100644 --- a/src/lib/libcrypto/pkcs12/p12_asn.c +++ b/src/lib/libcrypto/pkcs12/p12_asn.c | |||
| @@ -83,8 +83,8 @@ ASN1_ADB_TEMPLATE(bag_default) = ASN1_EXP(PKCS12_BAGS, value.other, ASN1_ANY, 0) | |||
| 83 | 83 | ||
| 84 | ASN1_ADB(PKCS12_BAGS) = { | 84 | ASN1_ADB(PKCS12_BAGS) = { |
| 85 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509cert, ASN1_OCTET_STRING, 0)), | 85 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509cert, ASN1_OCTET_STRING, 0)), |
| 86 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509crl, ASN1_OCTET_STRING, 0)), | 86 | ADB_ENTRY(NID_x509Crl, ASN1_EXP(PKCS12_BAGS, value.x509crl, ASN1_OCTET_STRING, 0)), |
| 87 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.sdsicert, ASN1_IA5STRING, 0)), | 87 | ADB_ENTRY(NID_sdsiCertificate, ASN1_EXP(PKCS12_BAGS, value.sdsicert, ASN1_IA5STRING, 0)), |
| 88 | } ASN1_ADB_END(PKCS12_BAGS, 0, type, 0, &bag_default_tt, NULL); | 88 | } ASN1_ADB_END(PKCS12_BAGS, 0, type, 0, &bag_default_tt, NULL); |
| 89 | 89 | ||
| 90 | ASN1_SEQUENCE(PKCS12_BAGS) = { | 90 | ASN1_SEQUENCE(PKCS12_BAGS) = { |
| @@ -98,7 +98,7 @@ ASN1_ADB_TEMPLATE(safebag_default) = ASN1_EXP(PKCS12_SAFEBAG, value.other, ASN1_ | |||
| 98 | 98 | ||
| 99 | ASN1_ADB(PKCS12_SAFEBAG) = { | 99 | ASN1_ADB(PKCS12_SAFEBAG) = { |
| 100 | ADB_ENTRY(NID_keyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, PKCS8_PRIV_KEY_INFO, 0)), | 100 | ADB_ENTRY(NID_keyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, PKCS8_PRIV_KEY_INFO, 0)), |
| 101 | ADB_ENTRY(NID_pkcs8ShroudedKeyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, X509_SIG, 0)), | 101 | ADB_ENTRY(NID_pkcs8ShroudedKeyBag, ASN1_EXP(PKCS12_SAFEBAG, value.shkeybag, X509_SIG, 0)), |
| 102 | ADB_ENTRY(NID_safeContentsBag, ASN1_EXP_SET_OF(PKCS12_SAFEBAG, value.safes, PKCS12_SAFEBAG, 0)), | 102 | ADB_ENTRY(NID_safeContentsBag, ASN1_EXP_SET_OF(PKCS12_SAFEBAG, value.safes, PKCS12_SAFEBAG, 0)), |
| 103 | ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), | 103 | ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), |
| 104 | ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), | 104 | ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), |
diff --git a/src/lib/libcrypto/pkcs7/pk7_lib.c b/src/lib/libcrypto/pkcs7/pk7_lib.c index c00ed6833a..985b07245c 100644 --- a/src/lib/libcrypto/pkcs7/pk7_lib.c +++ b/src/lib/libcrypto/pkcs7/pk7_lib.c | |||
| @@ -74,6 +74,13 @@ long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) | |||
| 74 | if (nid == NID_pkcs7_signed) | 74 | if (nid == NID_pkcs7_signed) |
| 75 | { | 75 | { |
| 76 | ret=p7->detached=(int)larg; | 76 | ret=p7->detached=(int)larg; |
| 77 | if (ret && PKCS7_type_is_data(p7->d.sign->contents)) | ||
| 78 | { | ||
| 79 | ASN1_OCTET_STRING *os; | ||
| 80 | os=p7->d.sign->contents->d.data; | ||
| 81 | ASN1_OCTET_STRING_free(os); | ||
| 82 | p7->d.sign->contents->d.data = NULL; | ||
| 83 | } | ||
| 77 | } | 84 | } |
| 78 | else | 85 | else |
| 79 | { | 86 | { |
diff --git a/src/lib/libcrypto/ripemd/rmdtest.c b/src/lib/libcrypto/ripemd/rmdtest.c index 19e9741db2..be1fb8b1f6 100644 --- a/src/lib/libcrypto/ripemd/rmdtest.c +++ b/src/lib/libcrypto/ripemd/rmdtest.c | |||
| @@ -59,7 +59,6 @@ | |||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 62 | #include <openssl/ripemd.h> | ||
| 63 | 62 | ||
| 64 | #ifdef OPENSSL_NO_RIPEMD | 63 | #ifdef OPENSSL_NO_RIPEMD |
| 65 | int main(int argc, char *argv[]) | 64 | int main(int argc, char *argv[]) |
| @@ -68,6 +67,7 @@ int main(int argc, char *argv[]) | |||
| 68 | return(0); | 67 | return(0); |
| 69 | } | 68 | } |
| 70 | #else | 69 | #else |
| 70 | #include <openssl/ripemd.h> | ||
| 71 | #include <openssl/evp.h> | 71 | #include <openssl/evp.h> |
| 72 | 72 | ||
| 73 | #ifdef CHARSET_EBCDIC | 73 | #ifdef CHARSET_EBCDIC |
diff --git a/src/lib/libcrypto/util/libeay.num b/src/lib/libcrypto/util/libeay.num index 512185e257..7e5728495f 100644 --- a/src/lib/libcrypto/util/libeay.num +++ b/src/lib/libcrypto/util/libeay.num | |||
| @@ -2792,3 +2792,4 @@ ASN1_UNIVERSALSTRING_it 3234 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIA | |||
| 2792 | ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | 2792 | ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: |
| 2793 | d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: | 2793 | d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: |
| 2794 | EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES | 2794 | EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES |
| 2795 | X509_REQ_print_ex 3237 EXIST::FUNCTION:BIO | ||
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h index c75aa0c717..7095440d36 100644 --- a/src/lib/libcrypto/x509/x509.h +++ b/src/lib/libcrypto/x509/x509.h | |||
| @@ -331,6 +331,7 @@ DECLARE_STACK_OF(X509_TRUST) | |||
| 331 | #define X509_FLAG_NO_EXTENSIONS (1L << 8) | 331 | #define X509_FLAG_NO_EXTENSIONS (1L << 8) |
| 332 | #define X509_FLAG_NO_SIGDUMP (1L << 9) | 332 | #define X509_FLAG_NO_SIGDUMP (1L << 9) |
| 333 | #define X509_FLAG_NO_AUX (1L << 10) | 333 | #define X509_FLAG_NO_AUX (1L << 10) |
| 334 | #define X509_FLAG_NO_ATTRIBUTES (1L << 11) | ||
| 334 | 335 | ||
| 335 | /* Flags specific to X509_NAME_print_ex() */ | 336 | /* Flags specific to X509_NAME_print_ex() */ |
| 336 | 337 | ||
| @@ -1015,6 +1016,7 @@ int X509_print(BIO *bp,X509 *x); | |||
| 1015 | int X509_ocspid_print(BIO *bp,X509 *x); | 1016 | int X509_ocspid_print(BIO *bp,X509 *x); |
| 1016 | int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); | 1017 | int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); |
| 1017 | int X509_CRL_print(BIO *bp,X509_CRL *x); | 1018 | int X509_CRL_print(BIO *bp,X509_CRL *x); |
| 1019 | int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); | ||
| 1018 | int X509_REQ_print(BIO *bp,X509_REQ *req); | 1020 | int X509_REQ_print(BIO *bp,X509_REQ *req); |
| 1019 | #endif | 1021 | #endif |
| 1020 | 1022 | ||
diff --git a/src/lib/libssl/crypto/shlib_version b/src/lib/libssl/crypto/shlib_version index 5b844bbf42..b39addfcc6 100644 --- a/src/lib/libssl/crypto/shlib_version +++ b/src/lib/libssl/crypto/shlib_version | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | major=7 | 1 | major=7 |
| 2 | minor=0 | 2 | minor=1 |
diff --git a/src/lib/libssl/doc/openssl.txt b/src/lib/libssl/doc/openssl.txt index 5da519e7e4..432a17b66c 100644 --- a/src/lib/libssl/doc/openssl.txt +++ b/src/lib/libssl/doc/openssl.txt | |||
| @@ -344,7 +344,7 @@ the extension. | |||
| 344 | 344 | ||
| 345 | Examples: | 345 | Examples: |
| 346 | 346 | ||
| 347 | subjectAltName=email:copy,email:my@other.address,URL:http://my.url.here/ | 347 | subjectAltName=email:copy,email:my@other.address,URI:http://my.url.here/ |
| 348 | subjectAltName=email:my@other.address,RID:1.2.3.4 | 348 | subjectAltName=email:my@other.address,RID:1.2.3.4 |
| 349 | 349 | ||
| 350 | Issuer Alternative Name. | 350 | Issuer Alternative Name. |
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index 27df7a5a64..9ce5373b51 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
| @@ -545,7 +545,11 @@ static int ssl3_client_hello(SSL *s) | |||
| 545 | *(p++)=i; | 545 | *(p++)=i; |
| 546 | if (i != 0) | 546 | if (i != 0) |
| 547 | { | 547 | { |
| 548 | die(i <= sizeof s->session->session_id); | 548 | if (i > sizeof s->session->session_id) |
| 549 | { | ||
| 550 | SSLerr(SSL_F_SSL3_CLIENT_HELLO, ERR_R_INTERNAL_ERROR); | ||
| 551 | goto err; | ||
| 552 | } | ||
| 549 | memcpy(p,s->session->session_id,i); | 553 | memcpy(p,s->session->session_id,i); |
| 550 | p+=i; | 554 | p+=i; |
| 551 | } | 555 | } |
| @@ -1597,7 +1601,11 @@ static int ssl3_send_client_key_exchange(SSL *s) | |||
| 1597 | SSL_MAX_MASTER_KEY_LENGTH); | 1601 | SSL_MAX_MASTER_KEY_LENGTH); |
| 1598 | EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); | 1602 | EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); |
| 1599 | outl += padl; | 1603 | outl += padl; |
| 1600 | die(outl <= sizeof epms); | 1604 | if (outl > sizeof epms) |
| 1605 | { | ||
| 1606 | SSLerr(SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE, ERR_R_INTERNAL_ERROR); | ||
| 1607 | goto err; | ||
| 1608 | } | ||
| 1601 | EVP_CIPHER_CTX_cleanup(&ciph_ctx); | 1609 | EVP_CIPHER_CTX_cleanup(&ciph_ctx); |
| 1602 | 1610 | ||
| 1603 | /* KerberosWrapper.EncryptedPreMasterSecret */ | 1611 | /* KerberosWrapper.EncryptedPreMasterSecret */ |
diff --git a/src/lib/libssl/s3_srvr.c b/src/lib/libssl/s3_srvr.c index dfffed7165..2e1b0eb892 100644 --- a/src/lib/libssl/s3_srvr.c +++ b/src/lib/libssl/s3_srvr.c | |||
| @@ -966,7 +966,11 @@ static int ssl3_send_server_hello(SSL *s) | |||
| 966 | s->session->session_id_length=0; | 966 | s->session->session_id_length=0; |
| 967 | 967 | ||
| 968 | sl=s->session->session_id_length; | 968 | sl=s->session->session_id_length; |
| 969 | die(sl <= sizeof s->session->session_id); | 969 | if (sl > sizeof s->session->session_id) |
| 970 | { | ||
| 971 | SSLerr(SSL_F_SSL3_SEND_SERVER_HELLO, ERR_R_INTERNAL_ERROR); | ||
| 972 | return -1; | ||
| 973 | } | ||
| 970 | *(p++)=sl; | 974 | *(p++)=sl; |
| 971 | memcpy(p,s->session->session_id,sl); | 975 | memcpy(p,s->session->session_id,sl); |
| 972 | p+=sl; | 976 | p+=sl; |
diff --git a/src/lib/libssl/src/CHANGES b/src/lib/libssl/src/CHANGES index 5c80970b52..03b697cd7e 100644 --- a/src/lib/libssl/src/CHANGES +++ b/src/lib/libssl/src/CHANGES | |||
| @@ -2,7 +2,13 @@ | |||
| 2 | OpenSSL CHANGES | 2 | OpenSSL CHANGES |
| 3 | _______________ | 3 | _______________ |
| 4 | 4 | ||
| 5 | Changes between 0.9.6e and 0.9.7 [XX xxx 2002] | 5 | Changes between 0.9.6h and 0.9.7 [XX xxx 2002] |
| 6 | |||
| 7 | *) Make -nameopt work fully for req and add -reqopt switch. | ||
| 8 | [Michael Bell <michael.bell@rz.hu-berlin.de>, Steve Henson] | ||
| 9 | |||
| 10 | *) The "block size" for block ciphers in CFB and OFB mode should be 1. | ||
| 11 | [Steve Henson, reported by Yngve Nysaeter Pettersen <yngve@opera.com>] | ||
| 6 | 12 | ||
| 7 | *) Make sure tests can be performed even if the corresponding algorithms | 13 | *) Make sure tests can be performed even if the corresponding algorithms |
| 8 | have been removed entirely. This was also the last step to make | 14 | have been removed entirely. This was also the last step to make |
| @@ -1667,6 +1673,37 @@ des-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k | |||
| 1667 | *) Clean old EAY MD5 hack from e_os.h. | 1673 | *) Clean old EAY MD5 hack from e_os.h. |
| 1668 | [Richard Levitte] | 1674 | [Richard Levitte] |
| 1669 | 1675 | ||
| 1676 | Changes between 0.9.6g and 0.9.6h [xx XXX xxxx] | ||
| 1677 | |||
| 1678 | *) Reorder cleanup sequence in SSL_CTX_free(): only remove the ex_data after | ||
| 1679 | the cached sessions are flushed, as the remove_cb() might use ex_data | ||
| 1680 | contents. Bug found by Sam Varshavchik <mrsam@courier-mta.com> | ||
| 1681 | (see [openssl.org #212]). | ||
| 1682 | [Geoff Thorpe, Lutz Jaenicke] | ||
| 1683 | |||
| 1684 | *) Fix typo in OBJ_txt2obj which incorrectly passed the content | ||
| 1685 | length, instead of the encoding length to d2i_ASN1_OBJECT. | ||
| 1686 | [Steve Henson] | ||
| 1687 | |||
| 1688 | Changes between 0.9.6f and 0.9.6g [9 Aug 2002] | ||
| 1689 | |||
| 1690 | *) [In 0.9.6g-engine release:] | ||
| 1691 | Fix crypto/engine/vendor_defns/cswift.h for WIN32 (use '_stdcall'). | ||
| 1692 | [Lynn Gazis <lgazis@rainbow.com>] | ||
| 1693 | |||
| 1694 | Changes between 0.9.6e and 0.9.6f [8 Aug 2002] | ||
| 1695 | |||
| 1696 | *) Fix ASN1 checks. Check for overflow by comparing with LONG_MAX | ||
| 1697 | and get fix the header length calculation. | ||
| 1698 | [Florian Weimer <Weimer@CERT.Uni-Stuttgart.DE>, | ||
| 1699 | Alon Kantor <alonk@checkpoint.com> (and others), | ||
| 1700 | Steve Henson] | ||
| 1701 | |||
| 1702 | *) Use proper error handling instead of 'assertions' in buffer | ||
| 1703 | overflow checks added in 0.9.6e. This prevents DoS (the | ||
| 1704 | assertions could call abort()). | ||
| 1705 | [Arne Ansper <arne@ats.cyber.ee>, Bodo Moeller] | ||
| 1706 | |||
| 1670 | Changes between 0.9.6d and 0.9.6e [30 Jul 2002] | 1707 | Changes between 0.9.6d and 0.9.6e [30 Jul 2002] |
| 1671 | 1708 | ||
| 1672 | *) Add various sanity checks to asn1_get_length() to reject | 1709 | *) Add various sanity checks to asn1_get_length() to reject |
diff --git a/src/lib/libssl/src/Configure b/src/lib/libssl/src/Configure index 74bd8877e5..292ca877c6 100644 --- a/src/lib/libssl/src/Configure +++ b/src/lib/libssl/src/Configure | |||
| @@ -120,7 +120,7 @@ my $alpha_asm="::::::::"; | |||
| 120 | # -DB_ENDIAN slows things down on a sparc for md5, but helps sha1. | 120 | # -DB_ENDIAN slows things down on a sparc for md5, but helps sha1. |
| 121 | # So the md5_locl.h file has an undef B_ENDIAN if sun is defined | 121 | # So the md5_locl.h file has an undef B_ENDIAN if sun is defined |
| 122 | 122 | ||
| 123 | #config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $bn_obj : $des_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib | 123 | #config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $bn_obj : $des_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib : $arflags |
| 124 | 124 | ||
| 125 | my %table=( | 125 | my %table=( |
| 126 | # File 'TABLE' (created by 'make TABLE') contains the data from this list, | 126 | # File 'TABLE' (created by 'make TABLE') contains the data from this list, |
| @@ -387,8 +387,8 @@ my %table=( | |||
| 387 | "linux-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown):::BN_LLONG:::", | 387 | "linux-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::(unknown):::BN_LLONG:::", |
| 388 | "linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 388 | "linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| 389 | "linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::", | 389 | "linux-m68k", "gcc:-DB_ENDIAN -DTERMIO -O2 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::", |
| 390 | "linux-s390", "gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:::BN_LLONG::", | 390 | "linux-s390", "gcc:-DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| 391 | "linux-s390x", "gcc:-DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG:::::::::::linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 391 | "linux-s390x", "gcc:-DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| 392 | "linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 392 | "linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:asm/ia64.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| 393 | "NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 393 | "NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| 394 | "NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 394 | "NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
| @@ -438,6 +438,7 @@ my %table=( | |||
| 438 | "aix-gcc", "gcc:-O3 -DB_ENDIAN::(unknown):AIX::BN_LLONG RC4_CHAR:::", | 438 | "aix-gcc", "gcc:-O3 -DB_ENDIAN::(unknown):AIX::BN_LLONG RC4_CHAR:::", |
| 439 | "aix43-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown):::BN_LLONG RC4_CHAR::::::::::dlfcn:", | 439 | "aix43-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384::(unknown):::BN_LLONG RC4_CHAR::::::::::dlfcn:", |
| 440 | "aix43-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown):::BN_LLONG RC4_CHAR::::::::::dlfcn:", | 440 | "aix43-gcc", "gcc:-O3 -DAIX -DB_ENDIAN::(unknown):::BN_LLONG RC4_CHAR::::::::::dlfcn:", |
| 441 | "aix64-cc", "cc:-O -DAIX -DB_ENDIAN -qmaxmem=16384 -q64::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHAR::::::::::dlfcn::::::-X 64", | ||
| 441 | 442 | ||
| 442 | # | 443 | # |
| 443 | # Cray T90 and similar (SDSC) | 444 | # Cray T90 and similar (SDSC) |
| @@ -586,6 +587,7 @@ my $idx_shared_cflag = $idx++; | |||
| 586 | my $idx_shared_ldflag = $idx++; | 587 | my $idx_shared_ldflag = $idx++; |
| 587 | my $idx_shared_extension = $idx++; | 588 | my $idx_shared_extension = $idx++; |
| 588 | my $idx_ranlib = $idx++; | 589 | my $idx_ranlib = $idx++; |
| 590 | my $idx_arflags = $idx++; | ||
| 589 | 591 | ||
| 590 | my $prefix=""; | 592 | my $prefix=""; |
| 591 | my $openssldir=""; | 593 | my $openssldir=""; |
| @@ -940,6 +942,7 @@ my $shared_cflag = $fields[$idx_shared_cflag]; | |||
| 940 | my $shared_ldflag = $fields[$idx_shared_ldflag]; | 942 | my $shared_ldflag = $fields[$idx_shared_ldflag]; |
| 941 | my $shared_extension = $fields[$idx_shared_extension]; | 943 | my $shared_extension = $fields[$idx_shared_extension]; |
| 942 | my $ranlib = $fields[$idx_ranlib]; | 944 | my $ranlib = $fields[$idx_ranlib]; |
| 945 | my $arflags = $fields[$idx_arflags]; | ||
| 943 | 946 | ||
| 944 | $cflags="$flags$cflags" if ($flags ne ""); | 947 | $cflags="$flags$cflags" if ($flags ne ""); |
| 945 | 948 | ||
| @@ -1067,7 +1070,7 @@ if ($zlib) | |||
| 1067 | { | 1070 | { |
| 1068 | $cflags = "-DZLIB $cflags"; | 1071 | $cflags = "-DZLIB $cflags"; |
| 1069 | $cflags = "-DZLIB_SHARED $cflags" if $zlib == 2; | 1072 | $cflags = "-DZLIB_SHARED $cflags" if $zlib == 2; |
| 1070 | $lflags = "$lflags -lz" if $zlib == 2; | 1073 | $lflags = "$lflags -lz" if $zlib == 1; |
| 1071 | } | 1074 | } |
| 1072 | 1075 | ||
| 1073 | # You will find shlib_mark1 and shlib_mark2 explained in Makefile.org | 1076 | # You will find shlib_mark1 and shlib_mark2 explained in Makefile.org |
| @@ -1208,6 +1211,7 @@ while (<IN>) | |||
| 1208 | s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/; | 1211 | s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/; |
| 1209 | s/^PROCESSOR=.*/PROCESSOR= $processor/; | 1212 | s/^PROCESSOR=.*/PROCESSOR= $processor/; |
| 1210 | s/^RANLIB=.*/RANLIB= $ranlib/; | 1213 | s/^RANLIB=.*/RANLIB= $ranlib/; |
| 1214 | s/^ARFLAGS=.*/ARFLAGS= $arflags/; | ||
| 1211 | s/^PERL=.*/PERL= $perl/; | 1215 | s/^PERL=.*/PERL= $perl/; |
| 1212 | s/^KRB5_INCLUDES=.*/KRB5_INCLUDES=$withargs{"krb5-include"}/; | 1216 | s/^KRB5_INCLUDES=.*/KRB5_INCLUDES=$withargs{"krb5-include"}/; |
| 1213 | s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; | 1217 | s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; |
| @@ -1254,6 +1258,7 @@ print "SHA1_OBJ_ASM =$sha1_obj\n"; | |||
| 1254 | print "RMD160_OBJ_ASM=$rmd160_obj\n"; | 1258 | print "RMD160_OBJ_ASM=$rmd160_obj\n"; |
| 1255 | print "PROCESSOR =$processor\n"; | 1259 | print "PROCESSOR =$processor\n"; |
| 1256 | print "RANLIB =$ranlib\n"; | 1260 | print "RANLIB =$ranlib\n"; |
| 1261 | print "ARFLAGS =$arflags\n"; | ||
| 1257 | print "PERL =$perl\n"; | 1262 | print "PERL =$perl\n"; |
| 1258 | print "KRB5_INCLUDES =",$withargs{"krb5-include"},"\n" | 1263 | print "KRB5_INCLUDES =",$withargs{"krb5-include"},"\n" |
| 1259 | if $withargs{"krb5-include"} ne ""; | 1264 | if $withargs{"krb5-include"} ne ""; |
| @@ -1561,7 +1566,7 @@ sub print_table_entry | |||
| 1561 | my $bn_ops,my $bn_obj,my $des_obj,my $bf_obj, | 1566 | my $bn_ops,my $bn_obj,my $des_obj,my $bf_obj, |
| 1562 | my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj, | 1567 | my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj, |
| 1563 | my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag, | 1568 | my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag, |
| 1564 | my $shared_ldflag,my $shared_extension,my $ranlib)= | 1569 | my $shared_ldflag,my $shared_extension,my $ranlib,my $arflags)= |
| 1565 | split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); | 1570 | split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); |
| 1566 | 1571 | ||
| 1567 | print <<EOF | 1572 | print <<EOF |
| @@ -1589,6 +1594,7 @@ sub print_table_entry | |||
| 1589 | \$shared_ldflag = $shared_ldflag | 1594 | \$shared_ldflag = $shared_ldflag |
| 1590 | \$shared_extension = $shared_extension | 1595 | \$shared_extension = $shared_extension |
| 1591 | \$ranlib = $ranlib | 1596 | \$ranlib = $ranlib |
| 1597 | \$arflags = $arflags | ||
| 1592 | EOF | 1598 | EOF |
| 1593 | } | 1599 | } |
| 1594 | 1600 | ||
diff --git a/src/lib/libssl/src/FAQ b/src/lib/libssl/src/FAQ index ee03d97676..28027fdcac 100644 --- a/src/lib/libssl/src/FAQ +++ b/src/lib/libssl/src/FAQ | |||
| @@ -36,6 +36,7 @@ OpenSSL - Frequently Asked Questions | |||
| 36 | * Why does the linker complain about undefined symbols? | 36 | * Why does the linker complain about undefined symbols? |
| 37 | * Why does the OpenSSL test fail with "bc: command not found"? | 37 | * Why does the OpenSSL test fail with "bc: command not found"? |
| 38 | * Why does the OpenSSL test fail with "bc: 1 no implemented"? | 38 | * Why does the OpenSSL test fail with "bc: 1 no implemented"? |
| 39 | * Why does the OpenSSL test fail with "bc: stack empty"? | ||
| 39 | * Why does the OpenSSL compilation fail on Alpha Tru64 Unix? | 40 | * Why does the OpenSSL compilation fail on Alpha Tru64 Unix? |
| 40 | * Why does the OpenSSL compilation fail with "ar: command not found"? | 41 | * Why does the OpenSSL compilation fail with "ar: command not found"? |
| 41 | * Why does the OpenSSL compilation fail on Win32 with VC++? | 42 | * Why does the OpenSSL compilation fail on Win32 with VC++? |
| @@ -64,7 +65,7 @@ OpenSSL - Frequently Asked Questions | |||
| 64 | * Which is the current version of OpenSSL? | 65 | * Which is the current version of OpenSSL? |
| 65 | 66 | ||
| 66 | The current version is available from <URL: http://www.openssl.org>. | 67 | The current version is available from <URL: http://www.openssl.org>. |
| 67 | OpenSSL 0.9.6e was released on July 30, 2002. | 68 | OpenSSL 0.9.6g was released on August 9, 2002. |
| 68 | 69 | ||
| 69 | In addition to the current stable release, you can also access daily | 70 | In addition to the current stable release, you can also access daily |
| 70 | snapshots of the OpenSSL development version at <URL: | 71 | snapshots of the OpenSSL development version at <URL: |
| @@ -402,6 +403,17 @@ and compile/install it. GNU bc (see http://www.gnu.org/software/software.html | |||
| 402 | for download instructions) can be safely used, for example. | 403 | for download instructions) can be safely used, for example. |
| 403 | 404 | ||
| 404 | 405 | ||
| 406 | * Why does the OpenSSL test fail with "bc: stack empty"? | ||
| 407 | |||
| 408 | On some DG/ux versions, bc seems to have a too small stack for calculations | ||
| 409 | that the OpenSSL bntest throws at it. This gets triggered when you run the | ||
| 410 | test suite (using "make test"). The message returned is "bc: stack empty". | ||
| 411 | |||
| 412 | The best way to deal with this is to find another implementation of bc | ||
| 413 | and compile/install it. GNU bc (see http://www.gnu.org/software/software.html | ||
| 414 | for download instructions) can be safely used, for example. | ||
| 415 | |||
| 416 | |||
| 405 | * Why does the OpenSSL compilation fail on Alpha Tru64 Unix? | 417 | * Why does the OpenSSL compilation fail on Alpha Tru64 Unix? |
| 406 | 418 | ||
| 407 | On some Alpha installations running Tru64 Unix and Compaq C, the compilation | 419 | On some Alpha installations running Tru64 Unix and Compaq C, the compilation |
diff --git a/src/lib/libssl/src/Makefile.org b/src/lib/libssl/src/Makefile.org index 8808dd7922..d7af0815f3 100644 --- a/src/lib/libssl/src/Makefile.org +++ b/src/lib/libssl/src/Makefile.org | |||
| @@ -59,7 +59,8 @@ DEPFLAG= | |||
| 59 | PEX_LIBS= | 59 | PEX_LIBS= |
| 60 | EX_LIBS= | 60 | EX_LIBS= |
| 61 | EXE_EXT= | 61 | EXE_EXT= |
| 62 | AR=ar r | 62 | ARFLAGS= |
| 63 | AR=ar $(ARFLAGS) r | ||
| 63 | RANLIB= ranlib | 64 | RANLIB= ranlib |
| 64 | PERL= perl | 65 | PERL= perl |
| 65 | TAR= tar | 66 | TAR= tar |
| @@ -251,7 +252,8 @@ link-shared: | |||
| 251 | for i in $(SHLIBDIRS); do \ | 252 | for i in $(SHLIBDIRS); do \ |
| 252 | prev=lib$$i$(SHLIB_EXT); \ | 253 | prev=lib$$i$(SHLIB_EXT); \ |
| 253 | for j in $${tmp:-x}; do \ | 254 | for j in $${tmp:-x}; do \ |
| 254 | ( set -x; ln -f -s $$prev lib$$i$$j ); \ | 255 | ( set -x; \ |
| 256 | rm -f lib$$i$$j; ln -s $$prev lib$$i$$j ); \ | ||
| 255 | prev=lib$$i$$j; \ | 257 | prev=lib$$i$$j; \ |
| 256 | done; \ | 258 | done; \ |
| 257 | done; \ | 259 | done; \ |
| @@ -273,9 +275,7 @@ do_gnu-shared: | |||
| 273 | done | 275 | done |
| 274 | 276 | ||
| 275 | DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ | 277 | DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ |
| 276 | collect2=`gcc -print-prog-name=collect2 2>&1` && \ | 278 | my_ld=`gcc -print-prog-name=ld 2>&1` && \ |
| 277 | [ -n "$$collect2" ] && \ | ||
| 278 | my_ld=`$$collect2 --help 2>&1 | grep Usage: | sed 's/^Usage: *\([^ ][^ ]*\).*/\1/'` && \ | ||
| 279 | [ -n "$$my_ld" ] && \ | 279 | [ -n "$$my_ld" ] && \ |
| 280 | $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1 | 280 | $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1 |
| 281 | 281 | ||
| @@ -731,7 +731,8 @@ install: all install_docs | |||
| 731 | done; \ | 731 | done; \ |
| 732 | ( here="`pwd`"; \ | 732 | ( here="`pwd`"; \ |
| 733 | cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ | 733 | cd $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \ |
| 734 | make -f $$here/Makefile link-shared ); \ | 734 | set $(MAKE); \ |
| 735 | $$1 -f $$here/Makefile link-shared ); \ | ||
| 735 | fi | 736 | fi |
| 736 | 737 | ||
| 737 | install_docs: | 738 | install_docs: |
| @@ -740,22 +741,23 @@ install_docs: | |||
| 740 | $(INSTALL_PREFIX)$(MANDIR)/man3 \ | 741 | $(INSTALL_PREFIX)$(MANDIR)/man3 \ |
| 741 | $(INSTALL_PREFIX)$(MANDIR)/man5 \ | 742 | $(INSTALL_PREFIX)$(MANDIR)/man5 \ |
| 742 | $(INSTALL_PREFIX)$(MANDIR)/man7 | 743 | $(INSTALL_PREFIX)$(MANDIR)/man7 |
| 743 | @for i in doc/apps/*.pod; do \ | 744 | @pod2man="`cd util; ./pod2mantest $(PERL)`"; \ |
| 745 | for i in doc/apps/*.pod; do \ | ||
| 744 | fn=`basename $$i .pod`; \ | 746 | fn=`basename $$i .pod`; \ |
| 745 | if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ | 747 | if [ "$$fn" = "config" ]; then sec=5; else sec=1; fi; \ |
| 746 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ | 748 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ |
| 747 | (cd `$(PERL) util/dirname.pl $$i`; \ | 749 | (cd `$(PERL) util/dirname.pl $$i`; \ |
| 748 | sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ | 750 | sh -c "$$pod2man \ |
| 749 | --section=$$sec --center=OpenSSL \ | 751 | --section=$$sec --center=OpenSSL \ |
| 750 | --release=$(VERSION) `basename $$i`") \ | 752 | --release=$(VERSION) `basename $$i`") \ |
| 751 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ | 753 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ |
| 752 | done | 754 | done; \ |
| 753 | @for i in doc/crypto/*.pod doc/ssl/*.pod; do \ | 755 | for i in doc/crypto/*.pod doc/ssl/*.pod; do \ |
| 754 | fn=`basename $$i .pod`; \ | 756 | fn=`basename $$i .pod`; \ |
| 755 | if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ | 757 | if [ "$$fn" = "des_modes" ]; then sec=7; else sec=3; fi; \ |
| 756 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ | 758 | echo "installing man$$sec/`basename $$i .pod`.$$sec"; \ |
| 757 | (cd `$(PERL) util/dirname.pl $$i`; \ | 759 | (cd `$(PERL) util/dirname.pl $$i`; \ |
| 758 | sh -c "$(PERL) `cd ../../util; ./pod2mantest ignore` \ | 760 | sh -c "$$pod2man \ |
| 759 | --section=$$sec --center=OpenSSL \ | 761 | --section=$$sec --center=OpenSSL \ |
| 760 | --release=$(VERSION) `basename $$i`") \ | 762 | --release=$(VERSION) `basename $$i`") \ |
| 761 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ | 763 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/`basename $$i .pod`.$$sec; \ |
diff --git a/src/lib/libssl/src/NEWS b/src/lib/libssl/src/NEWS index 9531ba9c6e..418b3b0505 100644 --- a/src/lib/libssl/src/NEWS +++ b/src/lib/libssl/src/NEWS | |||
| @@ -40,6 +40,14 @@ | |||
| 40 | o SSL/TLS: add callback to retrieve SSL/TLS messages. | 40 | o SSL/TLS: add callback to retrieve SSL/TLS messages. |
| 41 | o SSL/TLS: support AES cipher suites (RFC3268). | 41 | o SSL/TLS: support AES cipher suites (RFC3268). |
| 42 | 42 | ||
| 43 | Major changes between OpenSSL 0.9.6f and OpenSSL 0.9.6g: | ||
| 44 | |||
| 45 | o Important building fixes on Unix. | ||
| 46 | |||
| 47 | Major changes between OpenSSL 0.9.6e and OpenSSL 0.9.6f: | ||
| 48 | |||
| 49 | o Various important bugfixes. | ||
| 50 | |||
| 43 | Major changes between OpenSSL 0.9.6d and OpenSSL 0.9.6e: | 51 | Major changes between OpenSSL 0.9.6d and OpenSSL 0.9.6e: |
| 44 | 52 | ||
| 45 | o Important security related bugfixes. | 53 | o Important security related bugfixes. |
diff --git a/src/lib/libssl/src/README b/src/lib/libssl/src/README index 5394a17e3e..4228e145f9 100644 --- a/src/lib/libssl/src/README +++ b/src/lib/libssl/src/README | |||
| @@ -154,7 +154,7 @@ | |||
| 154 | - Stack Traceback (if the application dumps core) | 154 | - Stack Traceback (if the application dumps core) |
| 155 | 155 | ||
| 156 | Report the bug to the OpenSSL project via the Request Tracker | 156 | Report the bug to the OpenSSL project via the Request Tracker |
| 157 | (http://www.openssl.org/rt2.html) by mail to: | 157 | (http://www.openssl.org/support/rt2.html) by mail to: |
| 158 | 158 | ||
| 159 | openssl-bugs@openssl.org | 159 | openssl-bugs@openssl.org |
| 160 | 160 | ||
diff --git a/src/lib/libssl/src/STATUS b/src/lib/libssl/src/STATUS index 0b752ecc08..fb61c932ee 100644 --- a/src/lib/libssl/src/STATUS +++ b/src/lib/libssl/src/STATUS | |||
| @@ -1,11 +1,16 @@ | |||
| 1 | 1 | ||
| 2 | OpenSSL STATUS Last modified at | 2 | OpenSSL STATUS Last modified at |
| 3 | ______________ $Date: 2002/06/07 03:45:33 $ | 3 | ______________ $Date: 2002/09/14 11:18:02 $ |
| 4 | 4 | ||
| 5 | DEVELOPMENT STATE | 5 | DEVELOPMENT STATE |
| 6 | 6 | ||
| 7 | o OpenSSL 0.9.8: Under development... | 7 | o OpenSSL 0.9.8: Under development... |
| 8 | o OpenSSL 0.9.7-beta1: Released on June 1st, 2002 | 8 | o OpenSSL 0.9.7-beta3: Released on July 30th, 2002 |
| 9 | o OpenSSL 0.9.7-beta2: Released on June 16th, 2002 | ||
| 10 | o OpenSSL 0.9.7-beta1: Released on June 1st, 2002 | ||
| 11 | o OpenSSL 0.9.6g: Released on August 9th, 2002 | ||
| 12 | o OpenSSL 0.9.6f: Released on August 8th, 2002 | ||
| 13 | o OpenSSL 0.9.6e: Released on July 30th, 2002 | ||
| 9 | o OpenSSL 0.9.6d: Released on May 9th, 2002 | 14 | o OpenSSL 0.9.6d: Released on May 9th, 2002 |
| 10 | o OpenSSL 0.9.6c: Released on December 21st, 2001 | 15 | o OpenSSL 0.9.6c: Released on December 21st, 2001 |
| 11 | o OpenSSL 0.9.6b: Released on July 9th, 2001 | 16 | o OpenSSL 0.9.6b: Released on July 9th, 2001 |
diff --git a/src/lib/libssl/src/TABLE b/src/lib/libssl/src/TABLE index 954c0fc553..3989ac7ebf 100644 --- a/src/lib/libssl/src/TABLE +++ b/src/lib/libssl/src/TABLE | |||
| @@ -23,6 +23,7 @@ $shared_cflag = | |||
| 23 | $shared_ldflag = | 23 | $shared_ldflag = |
| 24 | $shared_extension = | 24 | $shared_extension = |
| 25 | $ranlib = | 25 | $ranlib = |
| 26 | $arflags = | ||
| 26 | 27 | ||
| 27 | *** BC-32 | 28 | *** BC-32 |
| 28 | $cc = bcc32 | 29 | $cc = bcc32 |
| @@ -47,6 +48,7 @@ $shared_cflag = | |||
| 47 | $shared_ldflag = | 48 | $shared_ldflag = |
| 48 | $shared_extension = | 49 | $shared_extension = |
| 49 | $ranlib = | 50 | $ranlib = |
| 51 | $arflags = | ||
| 50 | 52 | ||
| 51 | *** BS2000-OSD | 53 | *** BS2000-OSD |
| 52 | $cc = c89 | 54 | $cc = c89 |
| @@ -71,6 +73,7 @@ $shared_cflag = | |||
| 71 | $shared_ldflag = | 73 | $shared_ldflag = |
| 72 | $shared_extension = | 74 | $shared_extension = |
| 73 | $ranlib = | 75 | $ranlib = |
| 76 | $arflags = | ||
| 74 | 77 | ||
| 75 | *** Cygwin | 78 | *** Cygwin |
| 76 | $cc = gcc | 79 | $cc = gcc |
| @@ -95,6 +98,7 @@ $shared_cflag = | |||
| 95 | $shared_ldflag = | 98 | $shared_ldflag = |
| 96 | $shared_extension = .dll | 99 | $shared_extension = .dll |
| 97 | $ranlib = | 100 | $ranlib = |
| 101 | $arflags = | ||
| 98 | 102 | ||
| 99 | *** Cygwin-pre1.3 | 103 | *** Cygwin-pre1.3 |
| 100 | $cc = gcc | 104 | $cc = gcc |
| @@ -119,6 +123,32 @@ $shared_cflag = | |||
| 119 | $shared_ldflag = | 123 | $shared_ldflag = |
| 120 | $shared_extension = | 124 | $shared_extension = |
| 121 | $ranlib = | 125 | $ranlib = |
| 126 | $arflags = | ||
| 127 | |||
| 128 | *** DJGPP | ||
| 129 | $cc = gcc | ||
| 130 | $cflags = -I/dev/env/DJDIR/watt32/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall | ||
| 131 | $unistd = | ||
| 132 | $thread_cflag = | ||
| 133 | $sys_id = MSDOS | ||
| 134 | $lflags = -L/dev/env/DJDIR/watt32/lib -lwatt | ||
| 135 | $bn_ops = BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT | ||
| 136 | $bn_obj = | ||
| 137 | $des_obj = | ||
| 138 | $bf_obj = | ||
| 139 | $md5_obj = | ||
| 140 | $sha1_obj = | ||
| 141 | $cast_obj = | ||
| 142 | $rc4_obj = | ||
| 143 | $rmd160_obj = | ||
| 144 | $rc5_obj = | ||
| 145 | $dso_scheme = | ||
| 146 | $shared_target= | ||
| 147 | $shared_cflag = | ||
| 148 | $shared_ldflag = | ||
| 149 | $shared_extension = | ||
| 150 | $ranlib = | ||
| 151 | $arflags = | ||
| 122 | 152 | ||
| 123 | *** FreeBSD | 153 | *** FreeBSD |
| 124 | $cc = gcc | 154 | $cc = gcc |
| @@ -143,6 +173,7 @@ $shared_cflag = | |||
| 143 | $shared_ldflag = | 173 | $shared_ldflag = |
| 144 | $shared_extension = | 174 | $shared_extension = |
| 145 | $ranlib = | 175 | $ranlib = |
| 176 | $arflags = | ||
| 146 | 177 | ||
| 147 | *** FreeBSD-alpha | 178 | *** FreeBSD-alpha |
| 148 | $cc = gcc | 179 | $cc = gcc |
| @@ -167,6 +198,7 @@ $shared_cflag = -fPIC | |||
| 167 | $shared_ldflag = | 198 | $shared_ldflag = |
| 168 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 199 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 169 | $ranlib = | 200 | $ranlib = |
| 201 | $arflags = | ||
| 170 | 202 | ||
| 171 | *** FreeBSD-elf | 203 | *** FreeBSD-elf |
| 172 | $cc = gcc | 204 | $cc = gcc |
| @@ -191,6 +223,7 @@ $shared_cflag = -fPIC | |||
| 191 | $shared_ldflag = | 223 | $shared_ldflag = |
| 192 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 224 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 193 | $ranlib = | 225 | $ranlib = |
| 226 | $arflags = | ||
| 194 | 227 | ||
| 195 | *** MPE/iX-gcc | 228 | *** MPE/iX-gcc |
| 196 | $cc = gcc | 229 | $cc = gcc |
| @@ -215,6 +248,7 @@ $shared_cflag = | |||
| 215 | $shared_ldflag = | 248 | $shared_ldflag = |
| 216 | $shared_extension = | 249 | $shared_extension = |
| 217 | $ranlib = | 250 | $ranlib = |
| 251 | $arflags = | ||
| 218 | 252 | ||
| 219 | *** Mingw32 | 253 | *** Mingw32 |
| 220 | $cc = gcc | 254 | $cc = gcc |
| @@ -239,6 +273,7 @@ $shared_cflag = | |||
| 239 | $shared_ldflag = | 273 | $shared_ldflag = |
| 240 | $shared_extension = | 274 | $shared_extension = |
| 241 | $ranlib = | 275 | $ranlib = |
| 276 | $arflags = | ||
| 242 | 277 | ||
| 243 | *** NetBSD-m68 | 278 | *** NetBSD-m68 |
| 244 | $cc = gcc | 279 | $cc = gcc |
| @@ -263,6 +298,7 @@ $shared_cflag = -fPIC | |||
| 263 | $shared_ldflag = | 298 | $shared_ldflag = |
| 264 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 299 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 265 | $ranlib = | 300 | $ranlib = |
| 301 | $arflags = | ||
| 266 | 302 | ||
| 267 | *** NetBSD-sparc | 303 | *** NetBSD-sparc |
| 268 | $cc = gcc | 304 | $cc = gcc |
| @@ -287,6 +323,7 @@ $shared_cflag = -fPIC | |||
| 287 | $shared_ldflag = | 323 | $shared_ldflag = |
| 288 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 324 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 289 | $ranlib = | 325 | $ranlib = |
| 326 | $arflags = | ||
| 290 | 327 | ||
| 291 | *** NetBSD-x86 | 328 | *** NetBSD-x86 |
| 292 | $cc = gcc | 329 | $cc = gcc |
| @@ -311,6 +348,7 @@ $shared_cflag = -fPIC | |||
| 311 | $shared_ldflag = | 348 | $shared_ldflag = |
| 312 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 349 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 313 | $ranlib = | 350 | $ranlib = |
| 351 | $arflags = | ||
| 314 | 352 | ||
| 315 | *** OS2-EMX | 353 | *** OS2-EMX |
| 316 | $cc = gcc | 354 | $cc = gcc |
| @@ -335,6 +373,7 @@ $shared_cflag = | |||
| 335 | $shared_ldflag = | 373 | $shared_ldflag = |
| 336 | $shared_extension = | 374 | $shared_extension = |
| 337 | $ranlib = | 375 | $ranlib = |
| 376 | $arflags = | ||
| 338 | 377 | ||
| 339 | *** OS390-Unix | 378 | *** OS390-Unix |
| 340 | $cc = c89.sh | 379 | $cc = c89.sh |
| @@ -359,6 +398,7 @@ $shared_cflag = | |||
| 359 | $shared_ldflag = | 398 | $shared_ldflag = |
| 360 | $shared_extension = | 399 | $shared_extension = |
| 361 | $ranlib = | 400 | $ranlib = |
| 401 | $arflags = | ||
| 362 | 402 | ||
| 363 | *** OpenBSD | 403 | *** OpenBSD |
| 364 | $cc = gcc | 404 | $cc = gcc |
| @@ -383,6 +423,7 @@ $shared_cflag = -fPIC | |||
| 383 | $shared_ldflag = | 423 | $shared_ldflag = |
| 384 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 424 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 385 | $ranlib = | 425 | $ranlib = |
| 426 | $arflags = | ||
| 386 | 427 | ||
| 387 | *** OpenBSD-alpha | 428 | *** OpenBSD-alpha |
| 388 | $cc = gcc | 429 | $cc = gcc |
| @@ -407,6 +448,7 @@ $shared_cflag = -fPIC | |||
| 407 | $shared_ldflag = | 448 | $shared_ldflag = |
| 408 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 449 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 409 | $ranlib = | 450 | $ranlib = |
| 451 | $arflags = | ||
| 410 | 452 | ||
| 411 | *** OpenBSD-hppa | 453 | *** OpenBSD-hppa |
| 412 | $cc = gcc | 454 | $cc = gcc |
| @@ -431,6 +473,7 @@ $shared_cflag = -fPIC | |||
| 431 | $shared_ldflag = | 473 | $shared_ldflag = |
| 432 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 474 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 433 | $ranlib = | 475 | $ranlib = |
| 476 | $arflags = | ||
| 434 | 477 | ||
| 435 | *** OpenBSD-i386 | 478 | *** OpenBSD-i386 |
| 436 | $cc = gcc | 479 | $cc = gcc |
| @@ -455,6 +498,7 @@ $shared_cflag = -fPIC | |||
| 455 | $shared_ldflag = | 498 | $shared_ldflag = |
| 456 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 499 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 457 | $ranlib = | 500 | $ranlib = |
| 501 | $arflags = | ||
| 458 | 502 | ||
| 459 | *** OpenBSD-m68k | 503 | *** OpenBSD-m68k |
| 460 | $cc = gcc | 504 | $cc = gcc |
| @@ -479,6 +523,7 @@ $shared_cflag = -fPIC | |||
| 479 | $shared_ldflag = | 523 | $shared_ldflag = |
| 480 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 524 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 481 | $ranlib = | 525 | $ranlib = |
| 526 | $arflags = | ||
| 482 | 527 | ||
| 483 | *** OpenBSD-m88k | 528 | *** OpenBSD-m88k |
| 484 | $cc = gcc | 529 | $cc = gcc |
| @@ -503,6 +548,7 @@ $shared_cflag = -fPIC | |||
| 503 | $shared_ldflag = | 548 | $shared_ldflag = |
| 504 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 549 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 505 | $ranlib = | 550 | $ranlib = |
| 551 | $arflags = | ||
| 506 | 552 | ||
| 507 | *** OpenBSD-mips | 553 | *** OpenBSD-mips |
| 508 | $cc = gcc | 554 | $cc = gcc |
| @@ -527,6 +573,7 @@ $shared_cflag = -fPIC | |||
| 527 | $shared_ldflag = | 573 | $shared_ldflag = |
| 528 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 574 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 529 | $ranlib = | 575 | $ranlib = |
| 576 | $arflags = | ||
| 530 | 577 | ||
| 531 | *** OpenBSD-powerpc | 578 | *** OpenBSD-powerpc |
| 532 | $cc = gcc | 579 | $cc = gcc |
| @@ -551,6 +598,7 @@ $shared_cflag = -fPIC | |||
| 551 | $shared_ldflag = | 598 | $shared_ldflag = |
| 552 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 599 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 553 | $ranlib = | 600 | $ranlib = |
| 601 | $arflags = | ||
| 554 | 602 | ||
| 555 | *** OpenBSD-sparc | 603 | *** OpenBSD-sparc |
| 556 | $cc = gcc | 604 | $cc = gcc |
| @@ -575,6 +623,7 @@ $shared_cflag = -fPIC | |||
| 575 | $shared_ldflag = | 623 | $shared_ldflag = |
| 576 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 624 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 577 | $ranlib = | 625 | $ranlib = |
| 626 | $arflags = | ||
| 578 | 627 | ||
| 579 | *** OpenBSD-sparc64 | 628 | *** OpenBSD-sparc64 |
| 580 | $cc = gcc | 629 | $cc = gcc |
| @@ -599,6 +648,7 @@ $shared_cflag = -fPIC | |||
| 599 | $shared_ldflag = | 648 | $shared_ldflag = |
| 600 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 649 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 601 | $ranlib = | 650 | $ranlib = |
| 651 | $arflags = | ||
| 602 | 652 | ||
| 603 | *** OpenBSD-vax | 653 | *** OpenBSD-vax |
| 604 | $cc = gcc | 654 | $cc = gcc |
| @@ -623,6 +673,7 @@ $shared_cflag = -fPIC | |||
| 623 | $shared_ldflag = | 673 | $shared_ldflag = |
| 624 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 674 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 625 | $ranlib = | 675 | $ranlib = |
| 676 | $arflags = | ||
| 626 | 677 | ||
| 627 | *** OpenUNIX-8 | 678 | *** OpenUNIX-8 |
| 628 | $cc = cc | 679 | $cc = cc |
| @@ -647,6 +698,7 @@ $shared_cflag = -Kpic | |||
| 647 | $shared_ldflag = | 698 | $shared_ldflag = |
| 648 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 699 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 649 | $ranlib = | 700 | $ranlib = |
| 701 | $arflags = | ||
| 650 | 702 | ||
| 651 | *** OpenUNIX-8-gcc | 703 | *** OpenUNIX-8-gcc |
| 652 | $cc = gcc | 704 | $cc = gcc |
| @@ -671,6 +723,7 @@ $shared_cflag = -fPIC | |||
| 671 | $shared_ldflag = | 723 | $shared_ldflag = |
| 672 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 724 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 673 | $ranlib = | 725 | $ranlib = |
| 726 | $arflags = | ||
| 674 | 727 | ||
| 675 | *** OpenUNIX-8-pentium | 728 | *** OpenUNIX-8-pentium |
| 676 | $cc = cc | 729 | $cc = cc |
| @@ -695,6 +748,7 @@ $shared_cflag = -Kpic | |||
| 695 | $shared_ldflag = | 748 | $shared_ldflag = |
| 696 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 749 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 697 | $ranlib = | 750 | $ranlib = |
| 751 | $arflags = | ||
| 698 | 752 | ||
| 699 | *** OpenUNIX-8-pentium_pro | 753 | *** OpenUNIX-8-pentium_pro |
| 700 | $cc = cc | 754 | $cc = cc |
| @@ -719,6 +773,7 @@ $shared_cflag = -Kpic | |||
| 719 | $shared_ldflag = | 773 | $shared_ldflag = |
| 720 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 774 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 721 | $ranlib = | 775 | $ranlib = |
| 776 | $arflags = | ||
| 722 | 777 | ||
| 723 | *** ReliantUNIX | 778 | *** ReliantUNIX |
| 724 | $cc = cc | 779 | $cc = cc |
| @@ -743,6 +798,7 @@ $shared_cflag = | |||
| 743 | $shared_ldflag = | 798 | $shared_ldflag = |
| 744 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 799 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 745 | $ranlib = | 800 | $ranlib = |
| 801 | $arflags = | ||
| 746 | 802 | ||
| 747 | *** SINIX | 803 | *** SINIX |
| 748 | $cc = cc | 804 | $cc = cc |
| @@ -767,6 +823,7 @@ $shared_cflag = | |||
| 767 | $shared_ldflag = | 823 | $shared_ldflag = |
| 768 | $shared_extension = | 824 | $shared_extension = |
| 769 | $ranlib = | 825 | $ranlib = |
| 826 | $arflags = | ||
| 770 | 827 | ||
| 771 | *** SINIX-N | 828 | *** SINIX-N |
| 772 | $cc = /usr/ucb/cc | 829 | $cc = /usr/ucb/cc |
| @@ -791,6 +848,32 @@ $shared_cflag = | |||
| 791 | $shared_ldflag = | 848 | $shared_ldflag = |
| 792 | $shared_extension = | 849 | $shared_extension = |
| 793 | $ranlib = | 850 | $ranlib = |
| 851 | $arflags = | ||
| 852 | |||
| 853 | *** UWIN | ||
| 854 | $cc = cc | ||
| 855 | $cflags = -DTERMIOS -DL_ENDIAN -O -Wall | ||
| 856 | $unistd = | ||
| 857 | $thread_cflag = | ||
| 858 | $sys_id = UWIN | ||
| 859 | $lflags = | ||
| 860 | $bn_ops = BN_LLONG DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT | ||
| 861 | $bn_obj = | ||
| 862 | $des_obj = | ||
| 863 | $bf_obj = | ||
| 864 | $md5_obj = | ||
| 865 | $sha1_obj = | ||
| 866 | $cast_obj = | ||
| 867 | $rc4_obj = | ||
| 868 | $rmd160_obj = | ||
| 869 | $rc5_obj = | ||
| 870 | $dso_scheme = win32 | ||
| 871 | $shared_target= | ||
| 872 | $shared_cflag = | ||
| 873 | $shared_ldflag = | ||
| 874 | $shared_extension = | ||
| 875 | $ranlib = | ||
| 876 | $arflags = | ||
| 794 | 877 | ||
| 795 | *** VC-MSDOS | 878 | *** VC-MSDOS |
| 796 | $cc = cl | 879 | $cc = cl |
| @@ -815,6 +898,7 @@ $shared_cflag = | |||
| 815 | $shared_ldflag = | 898 | $shared_ldflag = |
| 816 | $shared_extension = | 899 | $shared_extension = |
| 817 | $ranlib = | 900 | $ranlib = |
| 901 | $arflags = | ||
| 818 | 902 | ||
| 819 | *** VC-NT | 903 | *** VC-NT |
| 820 | $cc = cl | 904 | $cc = cl |
| @@ -839,6 +923,7 @@ $shared_cflag = | |||
| 839 | $shared_ldflag = | 923 | $shared_ldflag = |
| 840 | $shared_extension = | 924 | $shared_extension = |
| 841 | $ranlib = | 925 | $ranlib = |
| 926 | $arflags = | ||
| 842 | 927 | ||
| 843 | *** VC-W31-16 | 928 | *** VC-W31-16 |
| 844 | $cc = cl | 929 | $cc = cl |
| @@ -863,6 +948,7 @@ $shared_cflag = | |||
| 863 | $shared_ldflag = | 948 | $shared_ldflag = |
| 864 | $shared_extension = | 949 | $shared_extension = |
| 865 | $ranlib = | 950 | $ranlib = |
| 951 | $arflags = | ||
| 866 | 952 | ||
| 867 | *** VC-W31-32 | 953 | *** VC-W31-32 |
| 868 | $cc = cl | 954 | $cc = cl |
| @@ -887,6 +973,7 @@ $shared_cflag = | |||
| 887 | $shared_ldflag = | 973 | $shared_ldflag = |
| 888 | $shared_extension = | 974 | $shared_extension = |
| 889 | $ranlib = | 975 | $ranlib = |
| 976 | $arflags = | ||
| 890 | 977 | ||
| 891 | *** VC-WIN16 | 978 | *** VC-WIN16 |
| 892 | $cc = cl | 979 | $cc = cl |
| @@ -911,6 +998,7 @@ $shared_cflag = | |||
| 911 | $shared_ldflag = | 998 | $shared_ldflag = |
| 912 | $shared_extension = | 999 | $shared_extension = |
| 913 | $ranlib = | 1000 | $ranlib = |
| 1001 | $arflags = | ||
| 914 | 1002 | ||
| 915 | *** VC-WIN32 | 1003 | *** VC-WIN32 |
| 916 | $cc = cl | 1004 | $cc = cl |
| @@ -935,6 +1023,7 @@ $shared_cflag = | |||
| 935 | $shared_ldflag = | 1023 | $shared_ldflag = |
| 936 | $shared_extension = | 1024 | $shared_extension = |
| 937 | $ranlib = | 1025 | $ranlib = |
| 1026 | $arflags = | ||
| 938 | 1027 | ||
| 939 | *** aix-cc | 1028 | *** aix-cc |
| 940 | $cc = cc | 1029 | $cc = cc |
| @@ -959,6 +1048,7 @@ $shared_cflag = | |||
| 959 | $shared_ldflag = | 1048 | $shared_ldflag = |
| 960 | $shared_extension = | 1049 | $shared_extension = |
| 961 | $ranlib = | 1050 | $ranlib = |
| 1051 | $arflags = | ||
| 962 | 1052 | ||
| 963 | *** aix-gcc | 1053 | *** aix-gcc |
| 964 | $cc = gcc | 1054 | $cc = gcc |
| @@ -983,6 +1073,7 @@ $shared_cflag = | |||
| 983 | $shared_ldflag = | 1073 | $shared_ldflag = |
| 984 | $shared_extension = | 1074 | $shared_extension = |
| 985 | $ranlib = | 1075 | $ranlib = |
| 1076 | $arflags = | ||
| 986 | 1077 | ||
| 987 | *** aix43-cc | 1078 | *** aix43-cc |
| 988 | $cc = cc | 1079 | $cc = cc |
| @@ -1007,6 +1098,7 @@ $shared_cflag = | |||
| 1007 | $shared_ldflag = | 1098 | $shared_ldflag = |
| 1008 | $shared_extension = | 1099 | $shared_extension = |
| 1009 | $ranlib = | 1100 | $ranlib = |
| 1101 | $arflags = | ||
| 1010 | 1102 | ||
| 1011 | *** aix43-gcc | 1103 | *** aix43-gcc |
| 1012 | $cc = gcc | 1104 | $cc = gcc |
| @@ -1031,6 +1123,32 @@ $shared_cflag = | |||
| 1031 | $shared_ldflag = | 1123 | $shared_ldflag = |
| 1032 | $shared_extension = | 1124 | $shared_extension = |
| 1033 | $ranlib = | 1125 | $ranlib = |
| 1126 | $arflags = | ||
| 1127 | |||
| 1128 | *** aix64-cc | ||
| 1129 | $cc = cc | ||
| 1130 | $cflags = -O -DAIX -DB_ENDIAN -qmaxmem=16384 -q64 | ||
| 1131 | $unistd = | ||
| 1132 | $thread_cflag = (unknown) | ||
| 1133 | $sys_id = | ||
| 1134 | $lflags = | ||
| 1135 | $bn_ops = SIXTY_FOUR_BIT_LONG RC4_CHAR | ||
| 1136 | $bn_obj = | ||
| 1137 | $des_obj = | ||
| 1138 | $bf_obj = | ||
| 1139 | $md5_obj = | ||
| 1140 | $sha1_obj = | ||
| 1141 | $cast_obj = | ||
| 1142 | $rc4_obj = | ||
| 1143 | $rmd160_obj = | ||
| 1144 | $rc5_obj = | ||
| 1145 | $dso_scheme = dlfcn | ||
| 1146 | $shared_target= | ||
| 1147 | $shared_cflag = | ||
| 1148 | $shared_ldflag = | ||
| 1149 | $shared_extension = | ||
| 1150 | $ranlib = | ||
| 1151 | $arflags = -X 64 | ||
| 1034 | 1152 | ||
| 1035 | *** alpha-cc | 1153 | *** alpha-cc |
| 1036 | $cc = cc | 1154 | $cc = cc |
| @@ -1055,6 +1173,7 @@ $shared_cflag = | |||
| 1055 | $shared_ldflag = | 1173 | $shared_ldflag = |
| 1056 | $shared_extension = .so | 1174 | $shared_extension = .so |
| 1057 | $ranlib = | 1175 | $ranlib = |
| 1176 | $arflags = | ||
| 1058 | 1177 | ||
| 1059 | *** alpha-cc-rpath | 1178 | *** alpha-cc-rpath |
| 1060 | $cc = cc | 1179 | $cc = cc |
| @@ -1079,6 +1198,7 @@ $shared_cflag = | |||
| 1079 | $shared_ldflag = | 1198 | $shared_ldflag = |
| 1080 | $shared_extension = .so | 1199 | $shared_extension = .so |
| 1081 | $ranlib = | 1200 | $ranlib = |
| 1201 | $arflags = | ||
| 1082 | 1202 | ||
| 1083 | *** alpha-gcc | 1203 | *** alpha-gcc |
| 1084 | $cc = gcc | 1204 | $cc = gcc |
| @@ -1103,6 +1223,7 @@ $shared_cflag = | |||
| 1103 | $shared_ldflag = | 1223 | $shared_ldflag = |
| 1104 | $shared_extension = .so | 1224 | $shared_extension = .so |
| 1105 | $ranlib = | 1225 | $ranlib = |
| 1226 | $arflags = | ||
| 1106 | 1227 | ||
| 1107 | *** alpha164-cc | 1228 | *** alpha164-cc |
| 1108 | $cc = cc | 1229 | $cc = cc |
| @@ -1127,6 +1248,7 @@ $shared_cflag = | |||
| 1127 | $shared_ldflag = | 1248 | $shared_ldflag = |
| 1128 | $shared_extension = .so | 1249 | $shared_extension = .so |
| 1129 | $ranlib = | 1250 | $ranlib = |
| 1251 | $arflags = | ||
| 1130 | 1252 | ||
| 1131 | *** alphaold-cc | 1253 | *** alphaold-cc |
| 1132 | $cc = cc | 1254 | $cc = cc |
| @@ -1151,6 +1273,7 @@ $shared_cflag = | |||
| 1151 | $shared_ldflag = | 1273 | $shared_ldflag = |
| 1152 | $shared_extension = .so | 1274 | $shared_extension = .so |
| 1153 | $ranlib = | 1275 | $ranlib = |
| 1276 | $arflags = | ||
| 1154 | 1277 | ||
| 1155 | *** bsdi-elf-gcc | 1278 | *** bsdi-elf-gcc |
| 1156 | $cc = gcc | 1279 | $cc = gcc |
| @@ -1175,6 +1298,7 @@ $shared_cflag = -fPIC | |||
| 1175 | $shared_ldflag = | 1298 | $shared_ldflag = |
| 1176 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1299 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1177 | $ranlib = | 1300 | $ranlib = |
| 1301 | $arflags = | ||
| 1178 | 1302 | ||
| 1179 | *** bsdi-gcc | 1303 | *** bsdi-gcc |
| 1180 | $cc = gcc | 1304 | $cc = gcc |
| @@ -1199,6 +1323,7 @@ $shared_cflag = | |||
| 1199 | $shared_ldflag = | 1323 | $shared_ldflag = |
| 1200 | $shared_extension = | 1324 | $shared_extension = |
| 1201 | $ranlib = | 1325 | $ranlib = |
| 1326 | $arflags = | ||
| 1202 | 1327 | ||
| 1203 | *** cc | 1328 | *** cc |
| 1204 | $cc = cc | 1329 | $cc = cc |
| @@ -1223,6 +1348,7 @@ $shared_cflag = | |||
| 1223 | $shared_ldflag = | 1348 | $shared_ldflag = |
| 1224 | $shared_extension = | 1349 | $shared_extension = |
| 1225 | $ranlib = | 1350 | $ranlib = |
| 1351 | $arflags = | ||
| 1226 | 1352 | ||
| 1227 | *** cray-j90 | 1353 | *** cray-j90 |
| 1228 | $cc = cc | 1354 | $cc = cc |
| @@ -1247,6 +1373,7 @@ $shared_cflag = | |||
| 1247 | $shared_ldflag = | 1373 | $shared_ldflag = |
| 1248 | $shared_extension = | 1374 | $shared_extension = |
| 1249 | $ranlib = | 1375 | $ranlib = |
| 1376 | $arflags = | ||
| 1250 | 1377 | ||
| 1251 | *** cray-t3e | 1378 | *** cray-t3e |
| 1252 | $cc = cc | 1379 | $cc = cc |
| @@ -1271,12 +1398,13 @@ $shared_cflag = | |||
| 1271 | $shared_ldflag = | 1398 | $shared_ldflag = |
| 1272 | $shared_extension = | 1399 | $shared_extension = |
| 1273 | $ranlib = | 1400 | $ranlib = |
| 1401 | $arflags = | ||
| 1274 | 1402 | ||
| 1275 | *** darwin-i386-cc | 1403 | *** darwin-i386-cc |
| 1276 | $cc = cc | 1404 | $cc = cc |
| 1277 | $cflags = -O3 -nostdinc -I/System/Library/Frameworks/System.framework/Headers -I/System/Library/Frameworks/System.frameworks/Headers/bsd -I/usr/include -fomit-frame-pointer -Wall -DB_ENDIAN | 1405 | $cflags = -O3 -fomit-frame-pointer -fno-common -DB_ENDIAN |
| 1278 | $unistd = | 1406 | $unistd = |
| 1279 | $thread_cflag = (unknown) | 1407 | $thread_cflag = -D_REENTRANT |
| 1280 | $sys_id = MACOSX | 1408 | $sys_id = MACOSX |
| 1281 | $lflags = | 1409 | $lflags = |
| 1282 | $bn_ops = BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR | 1410 | $bn_ops = BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR |
| @@ -1295,12 +1423,13 @@ $shared_cflag = -fPIC | |||
| 1295 | $shared_ldflag = | 1423 | $shared_ldflag = |
| 1296 | $shared_extension = .$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib | 1424 | $shared_extension = .$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib |
| 1297 | $ranlib = | 1425 | $ranlib = |
| 1426 | $arflags = | ||
| 1298 | 1427 | ||
| 1299 | *** darwin-ppc-cc | 1428 | *** darwin-ppc-cc |
| 1300 | $cc = cc | 1429 | $cc = cc |
| 1301 | $cflags = -O3 -nostdinc -I/System/Library/Frameworks/System.framework/Headers -I/System/Library/Frameworks/System.frameworks/Headers/bsd -I/usr/include -fomit-frame-pointer -Wall -DB_ENDIAN | 1430 | $cflags = -O3 -fomit-frame-pointer -fno-common -DB_ENDIAN |
| 1302 | $unistd = | 1431 | $unistd = |
| 1303 | $thread_cflag = (unknown) | 1432 | $thread_cflag = -D_REENTRANT |
| 1304 | $sys_id = MACOSX | 1433 | $sys_id = MACOSX |
| 1305 | $lflags = | 1434 | $lflags = |
| 1306 | $bn_ops = BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR | 1435 | $bn_ops = BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR |
| @@ -1319,10 +1448,11 @@ $shared_cflag = -fPIC | |||
| 1319 | $shared_ldflag = | 1448 | $shared_ldflag = |
| 1320 | $shared_extension = .$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib | 1449 | $shared_extension = .$(SHLIB_MAJOR).$(SHLIB_MINOR).dylib |
| 1321 | $ranlib = | 1450 | $ranlib = |
| 1451 | $arflags = | ||
| 1322 | 1452 | ||
| 1323 | *** debug | 1453 | *** debug |
| 1324 | $cc = gcc | 1454 | $cc = gcc |
| 1325 | $cflags = -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror | 1455 | $cflags = -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror |
| 1326 | $unistd = | 1456 | $unistd = |
| 1327 | $thread_cflag = (unknown) | 1457 | $thread_cflag = (unknown) |
| 1328 | $sys_id = | 1458 | $sys_id = |
| @@ -1343,6 +1473,7 @@ $shared_cflag = | |||
| 1343 | $shared_ldflag = | 1473 | $shared_ldflag = |
| 1344 | $shared_extension = | 1474 | $shared_extension = |
| 1345 | $ranlib = | 1475 | $ranlib = |
| 1476 | $arflags = | ||
| 1346 | 1477 | ||
| 1347 | *** debug-ben | 1478 | *** debug-ben |
| 1348 | $cc = gcc | 1479 | $cc = gcc |
| @@ -1367,6 +1498,7 @@ $shared_cflag = | |||
| 1367 | $shared_ldflag = | 1498 | $shared_ldflag = |
| 1368 | $shared_extension = | 1499 | $shared_extension = |
| 1369 | $ranlib = | 1500 | $ranlib = |
| 1501 | $arflags = | ||
| 1370 | 1502 | ||
| 1371 | *** debug-ben-debug | 1503 | *** debug-ben-debug |
| 1372 | $cc = gcc | 1504 | $cc = gcc |
| @@ -1391,6 +1523,7 @@ $shared_cflag = | |||
| 1391 | $shared_ldflag = | 1523 | $shared_ldflag = |
| 1392 | $shared_extension = | 1524 | $shared_extension = |
| 1393 | $ranlib = | 1525 | $ranlib = |
| 1526 | $arflags = | ||
| 1394 | 1527 | ||
| 1395 | *** debug-ben-openbsd | 1528 | *** debug-ben-openbsd |
| 1396 | $cc = gcc | 1529 | $cc = gcc |
| @@ -1415,6 +1548,7 @@ $shared_cflag = | |||
| 1415 | $shared_ldflag = | 1548 | $shared_ldflag = |
| 1416 | $shared_extension = | 1549 | $shared_extension = |
| 1417 | $ranlib = | 1550 | $ranlib = |
| 1551 | $arflags = | ||
| 1418 | 1552 | ||
| 1419 | *** debug-ben-openbsd-debug | 1553 | *** debug-ben-openbsd-debug |
| 1420 | $cc = gcc | 1554 | $cc = gcc |
| @@ -1439,6 +1573,7 @@ $shared_cflag = | |||
| 1439 | $shared_ldflag = | 1573 | $shared_ldflag = |
| 1440 | $shared_extension = | 1574 | $shared_extension = |
| 1441 | $ranlib = | 1575 | $ranlib = |
| 1576 | $arflags = | ||
| 1442 | 1577 | ||
| 1443 | *** debug-ben-strict | 1578 | *** debug-ben-strict |
| 1444 | $cc = gcc | 1579 | $cc = gcc |
| @@ -1463,6 +1598,7 @@ $shared_cflag = | |||
| 1463 | $shared_ldflag = | 1598 | $shared_ldflag = |
| 1464 | $shared_extension = | 1599 | $shared_extension = |
| 1465 | $ranlib = | 1600 | $ranlib = |
| 1601 | $arflags = | ||
| 1466 | 1602 | ||
| 1467 | *** debug-bodo | 1603 | *** debug-bodo |
| 1468 | $cc = gcc | 1604 | $cc = gcc |
| @@ -1487,10 +1623,11 @@ $shared_cflag = | |||
| 1487 | $shared_ldflag = | 1623 | $shared_ldflag = |
| 1488 | $shared_extension = | 1624 | $shared_extension = |
| 1489 | $ranlib = | 1625 | $ranlib = |
| 1626 | $arflags = | ||
| 1490 | 1627 | ||
| 1491 | *** debug-levitte-linux-elf | 1628 | *** debug-levitte-linux-elf |
| 1492 | $cc = gcc | 1629 | $cc = gcc |
| 1493 | $cflags = -DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -W -Wtraditional -Wundef -Wshadow -Wid-clash-31 -Wcast-align -Wconversion -Wno-long-long -pipe | 1630 | $cflags = -DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -W -Wundef -Wshadow -Wid-clash-31 -Wcast-align -Wconversion -Wno-long-long -pipe |
| 1494 | $unistd = | 1631 | $unistd = |
| 1495 | $thread_cflag = -D_REENTRANT | 1632 | $thread_cflag = -D_REENTRANT |
| 1496 | $sys_id = | 1633 | $sys_id = |
| @@ -1511,10 +1648,11 @@ $shared_cflag = -fPIC | |||
| 1511 | $shared_ldflag = | 1648 | $shared_ldflag = |
| 1512 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1649 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1513 | $ranlib = | 1650 | $ranlib = |
| 1651 | $arflags = | ||
| 1514 | 1652 | ||
| 1515 | *** debug-levitte-linux-noasm | 1653 | *** debug-levitte-linux-noasm |
| 1516 | $cc = gcc | 1654 | $cc = gcc |
| 1517 | $cflags = -DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -W -Wtraditional -Wundef -Wshadow -Wid-clash-31 -Wcast-align -Wconversion -Wno-long-long -pipe | 1655 | $cflags = -DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -W -Wundef -Wshadow -Wid-clash-31 -Wcast-align -Wconversion -Wno-long-long -pipe |
| 1518 | $unistd = | 1656 | $unistd = |
| 1519 | $thread_cflag = -D_REENTRANT | 1657 | $thread_cflag = -D_REENTRANT |
| 1520 | $sys_id = | 1658 | $sys_id = |
| @@ -1535,6 +1673,7 @@ $shared_cflag = -fPIC | |||
| 1535 | $shared_ldflag = | 1673 | $shared_ldflag = |
| 1536 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1674 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1537 | $ranlib = | 1675 | $ranlib = |
| 1676 | $arflags = | ||
| 1538 | 1677 | ||
| 1539 | *** debug-linux-elf | 1678 | *** debug-linux-elf |
| 1540 | $cc = gcc | 1679 | $cc = gcc |
| @@ -1559,6 +1698,7 @@ $shared_cflag = -fPIC | |||
| 1559 | $shared_ldflag = | 1698 | $shared_ldflag = |
| 1560 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1699 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1561 | $ranlib = | 1700 | $ranlib = |
| 1701 | $arflags = | ||
| 1562 | 1702 | ||
| 1563 | *** debug-linux-elf-noefence | 1703 | *** debug-linux-elf-noefence |
| 1564 | $cc = gcc | 1704 | $cc = gcc |
| @@ -1583,6 +1723,7 @@ $shared_cflag = | |||
| 1583 | $shared_ldflag = | 1723 | $shared_ldflag = |
| 1584 | $shared_extension = | 1724 | $shared_extension = |
| 1585 | $ranlib = | 1725 | $ranlib = |
| 1726 | $arflags = | ||
| 1586 | 1727 | ||
| 1587 | *** debug-linux-pentium | 1728 | *** debug-linux-pentium |
| 1588 | $cc = gcc | 1729 | $cc = gcc |
| @@ -1607,6 +1748,7 @@ $shared_cflag = | |||
| 1607 | $shared_ldflag = | 1748 | $shared_ldflag = |
| 1608 | $shared_extension = | 1749 | $shared_extension = |
| 1609 | $ranlib = | 1750 | $ranlib = |
| 1751 | $arflags = | ||
| 1610 | 1752 | ||
| 1611 | *** debug-linux-ppro | 1753 | *** debug-linux-ppro |
| 1612 | $cc = gcc | 1754 | $cc = gcc |
| @@ -1631,6 +1773,7 @@ $shared_cflag = | |||
| 1631 | $shared_ldflag = | 1773 | $shared_ldflag = |
| 1632 | $shared_extension = | 1774 | $shared_extension = |
| 1633 | $ranlib = | 1775 | $ranlib = |
| 1776 | $arflags = | ||
| 1634 | 1777 | ||
| 1635 | *** debug-rse | 1778 | *** debug-rse |
| 1636 | $cc = cc | 1779 | $cc = cc |
| @@ -1655,6 +1798,7 @@ $shared_cflag = | |||
| 1655 | $shared_ldflag = | 1798 | $shared_ldflag = |
| 1656 | $shared_extension = | 1799 | $shared_extension = |
| 1657 | $ranlib = | 1800 | $ranlib = |
| 1801 | $arflags = | ||
| 1658 | 1802 | ||
| 1659 | *** debug-solaris-sparcv8-cc | 1803 | *** debug-solaris-sparcv8-cc |
| 1660 | $cc = cc | 1804 | $cc = cc |
| @@ -1679,6 +1823,7 @@ $shared_cflag = -KPIC | |||
| 1679 | $shared_ldflag = | 1823 | $shared_ldflag = |
| 1680 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1824 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1681 | $ranlib = | 1825 | $ranlib = |
| 1826 | $arflags = | ||
| 1682 | 1827 | ||
| 1683 | *** debug-solaris-sparcv8-gcc | 1828 | *** debug-solaris-sparcv8-gcc |
| 1684 | $cc = gcc | 1829 | $cc = gcc |
| @@ -1703,6 +1848,7 @@ $shared_cflag = -fPIC | |||
| 1703 | $shared_ldflag = | 1848 | $shared_ldflag = |
| 1704 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1849 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1705 | $ranlib = | 1850 | $ranlib = |
| 1851 | $arflags = | ||
| 1706 | 1852 | ||
| 1707 | *** debug-solaris-sparcv9-cc | 1853 | *** debug-solaris-sparcv9-cc |
| 1708 | $cc = cc | 1854 | $cc = cc |
| @@ -1727,6 +1873,7 @@ $shared_cflag = -KPIC | |||
| 1727 | $shared_ldflag = | 1873 | $shared_ldflag = |
| 1728 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1874 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1729 | $ranlib = | 1875 | $ranlib = |
| 1876 | $arflags = | ||
| 1730 | 1877 | ||
| 1731 | *** debug-solaris-sparcv9-gcc | 1878 | *** debug-solaris-sparcv9-gcc |
| 1732 | $cc = gcc | 1879 | $cc = gcc |
| @@ -1751,6 +1898,7 @@ $shared_cflag = -fPIC | |||
| 1751 | $shared_ldflag = | 1898 | $shared_ldflag = |
| 1752 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 1899 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1753 | $ranlib = | 1900 | $ranlib = |
| 1901 | $arflags = | ||
| 1754 | 1902 | ||
| 1755 | *** debug-steve | 1903 | *** debug-steve |
| 1756 | $cc = gcc | 1904 | $cc = gcc |
| @@ -1775,6 +1923,7 @@ $shared_cflag = | |||
| 1775 | $shared_ldflag = | 1923 | $shared_ldflag = |
| 1776 | $shared_extension = | 1924 | $shared_extension = |
| 1777 | $ranlib = | 1925 | $ranlib = |
| 1926 | $arflags = | ||
| 1778 | 1927 | ||
| 1779 | *** debug-steve-linux-pseudo64 | 1928 | *** debug-steve-linux-pseudo64 |
| 1780 | $cc = gcc | 1929 | $cc = gcc |
| @@ -1799,6 +1948,7 @@ $shared_cflag = | |||
| 1799 | $shared_ldflag = | 1948 | $shared_ldflag = |
| 1800 | $shared_extension = | 1949 | $shared_extension = |
| 1801 | $ranlib = | 1950 | $ranlib = |
| 1951 | $arflags = | ||
| 1802 | 1952 | ||
| 1803 | *** debug-ulf | 1953 | *** debug-ulf |
| 1804 | $cc = gcc | 1954 | $cc = gcc |
| @@ -1823,6 +1973,7 @@ $shared_cflag = | |||
| 1823 | $shared_ldflag = | 1973 | $shared_ldflag = |
| 1824 | $shared_extension = | 1974 | $shared_extension = |
| 1825 | $ranlib = | 1975 | $ranlib = |
| 1976 | $arflags = | ||
| 1826 | 1977 | ||
| 1827 | *** dgux-R3-gcc | 1978 | *** dgux-R3-gcc |
| 1828 | $cc = gcc | 1979 | $cc = gcc |
| @@ -1847,6 +1998,7 @@ $shared_cflag = | |||
| 1847 | $shared_ldflag = | 1998 | $shared_ldflag = |
| 1848 | $shared_extension = | 1999 | $shared_extension = |
| 1849 | $ranlib = | 2000 | $ranlib = |
| 2001 | $arflags = | ||
| 1850 | 2002 | ||
| 1851 | *** dgux-R4-gcc | 2003 | *** dgux-R4-gcc |
| 1852 | $cc = gcc | 2004 | $cc = gcc |
| @@ -1871,6 +2023,7 @@ $shared_cflag = | |||
| 1871 | $shared_ldflag = | 2023 | $shared_ldflag = |
| 1872 | $shared_extension = | 2024 | $shared_extension = |
| 1873 | $ranlib = | 2025 | $ranlib = |
| 2026 | $arflags = | ||
| 1874 | 2027 | ||
| 1875 | *** dgux-R4-x86-gcc | 2028 | *** dgux-R4-x86-gcc |
| 1876 | $cc = gcc | 2029 | $cc = gcc |
| @@ -1895,6 +2048,7 @@ $shared_cflag = | |||
| 1895 | $shared_ldflag = | 2048 | $shared_ldflag = |
| 1896 | $shared_extension = | 2049 | $shared_extension = |
| 1897 | $ranlib = | 2050 | $ranlib = |
| 2051 | $arflags = | ||
| 1898 | 2052 | ||
| 1899 | *** dist | 2053 | *** dist |
| 1900 | $cc = cc | 2054 | $cc = cc |
| @@ -1919,6 +2073,7 @@ $shared_cflag = | |||
| 1919 | $shared_ldflag = | 2073 | $shared_ldflag = |
| 1920 | $shared_extension = | 2074 | $shared_extension = |
| 1921 | $ranlib = | 2075 | $ranlib = |
| 2076 | $arflags = | ||
| 1922 | 2077 | ||
| 1923 | *** gcc | 2078 | *** gcc |
| 1924 | $cc = gcc | 2079 | $cc = gcc |
| @@ -1943,6 +2098,7 @@ $shared_cflag = | |||
| 1943 | $shared_ldflag = | 2098 | $shared_ldflag = |
| 1944 | $shared_extension = | 2099 | $shared_extension = |
| 1945 | $ranlib = | 2100 | $ranlib = |
| 2101 | $arflags = | ||
| 1946 | 2102 | ||
| 1947 | *** hpux-brokencc | 2103 | *** hpux-brokencc |
| 1948 | $cc = cc | 2104 | $cc = cc |
| @@ -1967,6 +2123,7 @@ $shared_cflag = +Z | |||
| 1967 | $shared_ldflag = | 2123 | $shared_ldflag = |
| 1968 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2124 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1969 | $ranlib = | 2125 | $ranlib = |
| 2126 | $arflags = | ||
| 1970 | 2127 | ||
| 1971 | *** hpux-brokengcc | 2128 | *** hpux-brokengcc |
| 1972 | $cc = gcc | 2129 | $cc = gcc |
| @@ -1991,6 +2148,7 @@ $shared_cflag = -fPIC | |||
| 1991 | $shared_ldflag = | 2148 | $shared_ldflag = |
| 1992 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2149 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 1993 | $ranlib = | 2150 | $ranlib = |
| 2151 | $arflags = | ||
| 1994 | 2152 | ||
| 1995 | *** hpux-cc | 2153 | *** hpux-cc |
| 1996 | $cc = cc | 2154 | $cc = cc |
| @@ -2015,6 +2173,7 @@ $shared_cflag = +Z | |||
| 2015 | $shared_ldflag = | 2173 | $shared_ldflag = |
| 2016 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2174 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2017 | $ranlib = | 2175 | $ranlib = |
| 2176 | $arflags = | ||
| 2018 | 2177 | ||
| 2019 | *** hpux-gcc | 2178 | *** hpux-gcc |
| 2020 | $cc = gcc | 2179 | $cc = gcc |
| @@ -2039,6 +2198,7 @@ $shared_cflag = -fPIC | |||
| 2039 | $shared_ldflag = | 2198 | $shared_ldflag = |
| 2040 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2199 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2041 | $ranlib = | 2200 | $ranlib = |
| 2201 | $arflags = | ||
| 2042 | 2202 | ||
| 2043 | *** hpux-ia64-cc | 2203 | *** hpux-ia64-cc |
| 2044 | $cc = cc | 2204 | $cc = cc |
| @@ -2063,6 +2223,7 @@ $shared_cflag = +Z | |||
| 2063 | $shared_ldflag = | 2223 | $shared_ldflag = |
| 2064 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2224 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2065 | $ranlib = | 2225 | $ranlib = |
| 2226 | $arflags = | ||
| 2066 | 2227 | ||
| 2067 | *** hpux-m68k-gcc | 2228 | *** hpux-m68k-gcc |
| 2068 | $cc = gcc | 2229 | $cc = gcc |
| @@ -2087,6 +2248,7 @@ $shared_cflag = | |||
| 2087 | $shared_ldflag = | 2248 | $shared_ldflag = |
| 2088 | $shared_extension = | 2249 | $shared_extension = |
| 2089 | $ranlib = | 2250 | $ranlib = |
| 2251 | $arflags = | ||
| 2090 | 2252 | ||
| 2091 | *** hpux-parisc-cc | 2253 | *** hpux-parisc-cc |
| 2092 | $cc = cc | 2254 | $cc = cc |
| @@ -2111,6 +2273,7 @@ $shared_cflag = +Z | |||
| 2111 | $shared_ldflag = | 2273 | $shared_ldflag = |
| 2112 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2274 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2113 | $ranlib = | 2275 | $ranlib = |
| 2276 | $arflags = | ||
| 2114 | 2277 | ||
| 2115 | *** hpux-parisc-cc-o4 | 2278 | *** hpux-parisc-cc-o4 |
| 2116 | $cc = cc | 2279 | $cc = cc |
| @@ -2135,6 +2298,7 @@ $shared_cflag = +Z | |||
| 2135 | $shared_ldflag = | 2298 | $shared_ldflag = |
| 2136 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2299 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2137 | $ranlib = | 2300 | $ranlib = |
| 2301 | $arflags = | ||
| 2138 | 2302 | ||
| 2139 | *** hpux-parisc-gcc | 2303 | *** hpux-parisc-gcc |
| 2140 | $cc = gcc | 2304 | $cc = gcc |
| @@ -2159,6 +2323,7 @@ $shared_cflag = -fPIC | |||
| 2159 | $shared_ldflag = | 2323 | $shared_ldflag = |
| 2160 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2324 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2161 | $ranlib = | 2325 | $ranlib = |
| 2326 | $arflags = | ||
| 2162 | 2327 | ||
| 2163 | *** hpux-parisc1_1-cc | 2328 | *** hpux-parisc1_1-cc |
| 2164 | $cc = cc | 2329 | $cc = cc |
| @@ -2183,6 +2348,7 @@ $shared_cflag = +Z | |||
| 2183 | $shared_ldflag = | 2348 | $shared_ldflag = |
| 2184 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2349 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2185 | $ranlib = | 2350 | $ranlib = |
| 2351 | $arflags = | ||
| 2186 | 2352 | ||
| 2187 | *** hpux-parisc2-cc | 2353 | *** hpux-parisc2-cc |
| 2188 | $cc = cc | 2354 | $cc = cc |
| @@ -2207,6 +2373,7 @@ $shared_cflag = +Z | |||
| 2207 | $shared_ldflag = | 2373 | $shared_ldflag = |
| 2208 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2374 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2209 | $ranlib = | 2375 | $ranlib = |
| 2376 | $arflags = | ||
| 2210 | 2377 | ||
| 2211 | *** hpux10-brokencc | 2378 | *** hpux10-brokencc |
| 2212 | $cc = cc | 2379 | $cc = cc |
| @@ -2231,6 +2398,7 @@ $shared_cflag = +Z | |||
| 2231 | $shared_ldflag = | 2398 | $shared_ldflag = |
| 2232 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2399 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2233 | $ranlib = | 2400 | $ranlib = |
| 2401 | $arflags = | ||
| 2234 | 2402 | ||
| 2235 | *** hpux10-brokengcc | 2403 | *** hpux10-brokengcc |
| 2236 | $cc = gcc | 2404 | $cc = gcc |
| @@ -2255,6 +2423,7 @@ $shared_cflag = -fPIC | |||
| 2255 | $shared_ldflag = | 2423 | $shared_ldflag = |
| 2256 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2424 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2257 | $ranlib = | 2425 | $ranlib = |
| 2426 | $arflags = | ||
| 2258 | 2427 | ||
| 2259 | *** hpux10-cc | 2428 | *** hpux10-cc |
| 2260 | $cc = cc | 2429 | $cc = cc |
| @@ -2279,6 +2448,7 @@ $shared_cflag = +Z | |||
| 2279 | $shared_ldflag = | 2448 | $shared_ldflag = |
| 2280 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2449 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2281 | $ranlib = | 2450 | $ranlib = |
| 2451 | $arflags = | ||
| 2282 | 2452 | ||
| 2283 | *** hpux10-gcc | 2453 | *** hpux10-gcc |
| 2284 | $cc = gcc | 2454 | $cc = gcc |
| @@ -2303,6 +2473,7 @@ $shared_cflag = -fPIC | |||
| 2303 | $shared_ldflag = | 2473 | $shared_ldflag = |
| 2304 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2474 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2305 | $ranlib = | 2475 | $ranlib = |
| 2476 | $arflags = | ||
| 2306 | 2477 | ||
| 2307 | *** hpux64-ia64-cc | 2478 | *** hpux64-ia64-cc |
| 2308 | $cc = cc | 2479 | $cc = cc |
| @@ -2327,6 +2498,7 @@ $shared_cflag = +Z | |||
| 2327 | $shared_ldflag = | 2498 | $shared_ldflag = |
| 2328 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2499 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2329 | $ranlib = | 2500 | $ranlib = |
| 2501 | $arflags = | ||
| 2330 | 2502 | ||
| 2331 | *** hpux64-parisc-cc | 2503 | *** hpux64-parisc-cc |
| 2332 | $cc = cc | 2504 | $cc = cc |
| @@ -2351,6 +2523,32 @@ $shared_cflag = +Z | |||
| 2351 | $shared_ldflag = | 2523 | $shared_ldflag = |
| 2352 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2524 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2353 | $ranlib = | 2525 | $ranlib = |
| 2526 | $arflags = | ||
| 2527 | |||
| 2528 | *** hpux64-parisc-gcc | ||
| 2529 | $cc = gcc | ||
| 2530 | $cflags = -DB_ENDIAN -DMD32_XARRAY | ||
| 2531 | $unistd = | ||
| 2532 | $thread_cflag = -D_REENTRANT | ||
| 2533 | $sys_id = | ||
| 2534 | $lflags = -ldl | ||
| 2535 | $bn_ops = SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT | ||
| 2536 | $bn_obj = | ||
| 2537 | $des_obj = | ||
| 2538 | $bf_obj = | ||
| 2539 | $md5_obj = | ||
| 2540 | $sha1_obj = | ||
| 2541 | $cast_obj = | ||
| 2542 | $rc4_obj = | ||
| 2543 | $rmd160_obj = | ||
| 2544 | $rc5_obj = | ||
| 2545 | $dso_scheme = dlfcn | ||
| 2546 | $shared_target= hpux64-shared | ||
| 2547 | $shared_cflag = -fpic | ||
| 2548 | $shared_ldflag = | ||
| 2549 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | ||
| 2550 | $ranlib = | ||
| 2551 | $arflags = | ||
| 2354 | 2552 | ||
| 2355 | *** hpux64-parisc2-cc | 2553 | *** hpux64-parisc2-cc |
| 2356 | $cc = cc | 2554 | $cc = cc |
| @@ -2375,6 +2573,7 @@ $shared_cflag = +Z | |||
| 2375 | $shared_ldflag = | 2573 | $shared_ldflag = |
| 2376 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2574 | $shared_extension = .sl.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2377 | $ranlib = | 2575 | $ranlib = |
| 2576 | $arflags = | ||
| 2378 | 2577 | ||
| 2379 | *** hurd-x86 | 2578 | *** hurd-x86 |
| 2380 | $cc = gcc | 2579 | $cc = gcc |
| @@ -2399,6 +2598,7 @@ $shared_cflag = -fPIC | |||
| 2399 | $shared_ldflag = | 2598 | $shared_ldflag = |
| 2400 | $shared_extension = | 2599 | $shared_extension = |
| 2401 | $ranlib = | 2600 | $ranlib = |
| 2601 | $arflags = | ||
| 2402 | 2602 | ||
| 2403 | *** irix-cc | 2603 | *** irix-cc |
| 2404 | $cc = cc | 2604 | $cc = cc |
| @@ -2423,6 +2623,7 @@ $shared_cflag = | |||
| 2423 | $shared_ldflag = | 2623 | $shared_ldflag = |
| 2424 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2624 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2425 | $ranlib = | 2625 | $ranlib = |
| 2626 | $arflags = | ||
| 2426 | 2627 | ||
| 2427 | *** irix-gcc | 2628 | *** irix-gcc |
| 2428 | $cc = gcc | 2629 | $cc = gcc |
| @@ -2447,6 +2648,7 @@ $shared_cflag = | |||
| 2447 | $shared_ldflag = | 2648 | $shared_ldflag = |
| 2448 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2649 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2449 | $ranlib = | 2650 | $ranlib = |
| 2651 | $arflags = | ||
| 2450 | 2652 | ||
| 2451 | *** irix-mips3-cc | 2653 | *** irix-mips3-cc |
| 2452 | $cc = cc | 2654 | $cc = cc |
| @@ -2471,6 +2673,7 @@ $shared_cflag = | |||
| 2471 | $shared_ldflag = | 2673 | $shared_ldflag = |
| 2472 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2674 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2473 | $ranlib = | 2675 | $ranlib = |
| 2676 | $arflags = | ||
| 2474 | 2677 | ||
| 2475 | *** irix-mips3-gcc | 2678 | *** irix-mips3-gcc |
| 2476 | $cc = gcc | 2679 | $cc = gcc |
| @@ -2495,6 +2698,7 @@ $shared_cflag = | |||
| 2495 | $shared_ldflag = | 2698 | $shared_ldflag = |
| 2496 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2699 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2497 | $ranlib = | 2700 | $ranlib = |
| 2701 | $arflags = | ||
| 2498 | 2702 | ||
| 2499 | *** irix64-mips4-cc | 2703 | *** irix64-mips4-cc |
| 2500 | $cc = cc | 2704 | $cc = cc |
| @@ -2519,6 +2723,7 @@ $shared_cflag = | |||
| 2519 | $shared_ldflag = | 2723 | $shared_ldflag = |
| 2520 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2724 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2521 | $ranlib = | 2725 | $ranlib = |
| 2726 | $arflags = | ||
| 2522 | 2727 | ||
| 2523 | *** irix64-mips4-gcc | 2728 | *** irix64-mips4-gcc |
| 2524 | $cc = gcc | 2729 | $cc = gcc |
| @@ -2543,6 +2748,7 @@ $shared_cflag = | |||
| 2543 | $shared_ldflag = | 2748 | $shared_ldflag = |
| 2544 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2749 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2545 | $ranlib = | 2750 | $ranlib = |
| 2751 | $arflags = | ||
| 2546 | 2752 | ||
| 2547 | *** linux-alpha+bwx-ccc | 2753 | *** linux-alpha+bwx-ccc |
| 2548 | $cc = ccc | 2754 | $cc = ccc |
| @@ -2567,6 +2773,7 @@ $shared_cflag = | |||
| 2567 | $shared_ldflag = | 2773 | $shared_ldflag = |
| 2568 | $shared_extension = | 2774 | $shared_extension = |
| 2569 | $ranlib = | 2775 | $ranlib = |
| 2776 | $arflags = | ||
| 2570 | 2777 | ||
| 2571 | *** linux-alpha+bwx-gcc | 2778 | *** linux-alpha+bwx-gcc |
| 2572 | $cc = gcc | 2779 | $cc = gcc |
| @@ -2591,6 +2798,7 @@ $shared_cflag = -fPIC | |||
| 2591 | $shared_ldflag = | 2798 | $shared_ldflag = |
| 2592 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2799 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2593 | $ranlib = | 2800 | $ranlib = |
| 2801 | $arflags = | ||
| 2594 | 2802 | ||
| 2595 | *** linux-alpha-ccc | 2803 | *** linux-alpha-ccc |
| 2596 | $cc = ccc | 2804 | $cc = ccc |
| @@ -2615,6 +2823,7 @@ $shared_cflag = | |||
| 2615 | $shared_ldflag = | 2823 | $shared_ldflag = |
| 2616 | $shared_extension = | 2824 | $shared_extension = |
| 2617 | $ranlib = | 2825 | $ranlib = |
| 2826 | $arflags = | ||
| 2618 | 2827 | ||
| 2619 | *** linux-alpha-gcc | 2828 | *** linux-alpha-gcc |
| 2620 | $cc = gcc | 2829 | $cc = gcc |
| @@ -2639,6 +2848,7 @@ $shared_cflag = -fPIC | |||
| 2639 | $shared_ldflag = | 2848 | $shared_ldflag = |
| 2640 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2849 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2641 | $ranlib = | 2850 | $ranlib = |
| 2851 | $arflags = | ||
| 2642 | 2852 | ||
| 2643 | *** linux-aout | 2853 | *** linux-aout |
| 2644 | $cc = gcc | 2854 | $cc = gcc |
| @@ -2663,6 +2873,7 @@ $shared_cflag = | |||
| 2663 | $shared_ldflag = | 2873 | $shared_ldflag = |
| 2664 | $shared_extension = | 2874 | $shared_extension = |
| 2665 | $ranlib = | 2875 | $ranlib = |
| 2876 | $arflags = | ||
| 2666 | 2877 | ||
| 2667 | *** linux-elf | 2878 | *** linux-elf |
| 2668 | $cc = gcc | 2879 | $cc = gcc |
| @@ -2687,6 +2898,7 @@ $shared_cflag = -fPIC | |||
| 2687 | $shared_ldflag = | 2898 | $shared_ldflag = |
| 2688 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2899 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2689 | $ranlib = | 2900 | $ranlib = |
| 2901 | $arflags = | ||
| 2690 | 2902 | ||
| 2691 | *** linux-elf-arm | 2903 | *** linux-elf-arm |
| 2692 | $cc = gcc | 2904 | $cc = gcc |
| @@ -2711,6 +2923,7 @@ $shared_cflag = -fPIC | |||
| 2711 | $shared_ldflag = | 2923 | $shared_ldflag = |
| 2712 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2924 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2713 | $ranlib = | 2925 | $ranlib = |
| 2926 | $arflags = | ||
| 2714 | 2927 | ||
| 2715 | *** linux-ia64 | 2928 | *** linux-ia64 |
| 2716 | $cc = gcc | 2929 | $cc = gcc |
| @@ -2735,6 +2948,7 @@ $shared_cflag = -fPIC | |||
| 2735 | $shared_ldflag = | 2948 | $shared_ldflag = |
| 2736 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2949 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2737 | $ranlib = | 2950 | $ranlib = |
| 2951 | $arflags = | ||
| 2738 | 2952 | ||
| 2739 | *** linux-k6 | 2953 | *** linux-k6 |
| 2740 | $cc = gcc | 2954 | $cc = gcc |
| @@ -2759,6 +2973,7 @@ $shared_cflag = -fPIC | |||
| 2759 | $shared_ldflag = | 2973 | $shared_ldflag = |
| 2760 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 2974 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2761 | $ranlib = | 2975 | $ranlib = |
| 2976 | $arflags = | ||
| 2762 | 2977 | ||
| 2763 | *** linux-m68k | 2978 | *** linux-m68k |
| 2764 | $cc = gcc | 2979 | $cc = gcc |
| @@ -2783,6 +2998,7 @@ $shared_cflag = | |||
| 2783 | $shared_ldflag = | 2998 | $shared_ldflag = |
| 2784 | $shared_extension = | 2999 | $shared_extension = |
| 2785 | $ranlib = | 3000 | $ranlib = |
| 3001 | $arflags = | ||
| 2786 | 3002 | ||
| 2787 | *** linux-mips | 3003 | *** linux-mips |
| 2788 | $cc = gcc | 3004 | $cc = gcc |
| @@ -2807,6 +3023,7 @@ $shared_cflag = | |||
| 2807 | $shared_ldflag = | 3023 | $shared_ldflag = |
| 2808 | $shared_extension = | 3024 | $shared_extension = |
| 2809 | $ranlib = | 3025 | $ranlib = |
| 3026 | $arflags = | ||
| 2810 | 3027 | ||
| 2811 | *** linux-mipsel | 3028 | *** linux-mipsel |
| 2812 | $cc = gcc | 3029 | $cc = gcc |
| @@ -2831,6 +3048,7 @@ $shared_cflag = | |||
| 2831 | $shared_ldflag = | 3048 | $shared_ldflag = |
| 2832 | $shared_extension = | 3049 | $shared_extension = |
| 2833 | $ranlib = | 3050 | $ranlib = |
| 3051 | $arflags = | ||
| 2834 | 3052 | ||
| 2835 | *** linux-parisc | 3053 | *** linux-parisc |
| 2836 | $cc = gcc | 3054 | $cc = gcc |
| @@ -2855,6 +3073,7 @@ $shared_cflag = | |||
| 2855 | $shared_ldflag = | 3073 | $shared_ldflag = |
| 2856 | $shared_extension = | 3074 | $shared_extension = |
| 2857 | $ranlib = | 3075 | $ranlib = |
| 3076 | $arflags = | ||
| 2858 | 3077 | ||
| 2859 | *** linux-pentium | 3078 | *** linux-pentium |
| 2860 | $cc = gcc | 3079 | $cc = gcc |
| @@ -2879,6 +3098,7 @@ $shared_cflag = -fPIC | |||
| 2879 | $shared_ldflag = | 3098 | $shared_ldflag = |
| 2880 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3099 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2881 | $ranlib = | 3100 | $ranlib = |
| 3101 | $arflags = | ||
| 2882 | 3102 | ||
| 2883 | *** linux-ppc | 3103 | *** linux-ppc |
| 2884 | $cc = gcc | 3104 | $cc = gcc |
| @@ -2903,6 +3123,7 @@ $shared_cflag = -fPIC | |||
| 2903 | $shared_ldflag = | 3123 | $shared_ldflag = |
| 2904 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3124 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2905 | $ranlib = | 3125 | $ranlib = |
| 3126 | $arflags = | ||
| 2906 | 3127 | ||
| 2907 | *** linux-ppro | 3128 | *** linux-ppro |
| 2908 | $cc = gcc | 3129 | $cc = gcc |
| @@ -2927,14 +3148,15 @@ $shared_cflag = -fPIC | |||
| 2927 | $shared_ldflag = | 3148 | $shared_ldflag = |
| 2928 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3149 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2929 | $ranlib = | 3150 | $ranlib = |
| 3151 | $arflags = | ||
| 2930 | 3152 | ||
| 2931 | *** linux-s390 | 3153 | *** linux-s390 |
| 2932 | $cc = gcc | 3154 | $cc = gcc |
| 2933 | $cflags = -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall | 3155 | $cflags = -DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall |
| 2934 | $unistd = | 3156 | $unistd = |
| 2935 | $thread_cflag = -D_REENTRANT | 3157 | $thread_cflag = -D_REENTRANT |
| 2936 | $sys_id = | 3158 | $sys_id = |
| 2937 | $lflags = | 3159 | $lflags = -ldl |
| 2938 | $bn_ops = BN_LLONG | 3160 | $bn_ops = BN_LLONG |
| 2939 | $bn_obj = | 3161 | $bn_obj = |
| 2940 | $des_obj = | 3162 | $des_obj = |
| @@ -2945,12 +3167,13 @@ $cast_obj = | |||
| 2945 | $rc4_obj = | 3167 | $rc4_obj = |
| 2946 | $rmd160_obj = | 3168 | $rmd160_obj = |
| 2947 | $rc5_obj = | 3169 | $rc5_obj = |
| 2948 | $dso_scheme = | 3170 | $dso_scheme = dlfcn |
| 2949 | $shared_target= | 3171 | $shared_target= linux-shared |
| 2950 | $shared_cflag = | 3172 | $shared_cflag = -fPIC |
| 2951 | $shared_ldflag = | 3173 | $shared_ldflag = |
| 2952 | $shared_extension = | 3174 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2953 | $ranlib = | 3175 | $ranlib = |
| 3176 | $arflags = | ||
| 2954 | 3177 | ||
| 2955 | *** linux-s390x | 3178 | *** linux-s390x |
| 2956 | $cc = gcc | 3179 | $cc = gcc |
| @@ -2958,7 +3181,7 @@ $cflags = -DB_ENDIAN -DTERMIO -DNO_ASM -O3 -fomit-frame-pointer -Wall | |||
| 2958 | $unistd = | 3181 | $unistd = |
| 2959 | $thread_cflag = -D_REENTRANT | 3182 | $thread_cflag = -D_REENTRANT |
| 2960 | $sys_id = | 3183 | $sys_id = |
| 2961 | $lflags = | 3184 | $lflags = -ldl |
| 2962 | $bn_ops = SIXTY_FOUR_BIT_LONG | 3185 | $bn_ops = SIXTY_FOUR_BIT_LONG |
| 2963 | $bn_obj = | 3186 | $bn_obj = |
| 2964 | $des_obj = | 3187 | $des_obj = |
| @@ -2969,12 +3192,13 @@ $cast_obj = | |||
| 2969 | $rc4_obj = | 3192 | $rc4_obj = |
| 2970 | $rmd160_obj = | 3193 | $rmd160_obj = |
| 2971 | $rc5_obj = | 3194 | $rc5_obj = |
| 2972 | $dso_scheme = | 3195 | $dso_scheme = dlfcn |
| 2973 | $shared_target= linux-shared | 3196 | $shared_target= linux-shared |
| 2974 | $shared_cflag = -fPIC | 3197 | $shared_cflag = -fPIC |
| 2975 | $shared_ldflag = | 3198 | $shared_ldflag = |
| 2976 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3199 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 2977 | $ranlib = | 3200 | $ranlib = |
| 3201 | $arflags = | ||
| 2978 | 3202 | ||
| 2979 | *** linux-sparcv7 | 3203 | *** linux-sparcv7 |
| 2980 | $cc = gcc | 3204 | $cc = gcc |
| @@ -2999,6 +3223,7 @@ $shared_cflag = | |||
| 2999 | $shared_ldflag = | 3223 | $shared_ldflag = |
| 3000 | $shared_extension = | 3224 | $shared_extension = |
| 3001 | $ranlib = | 3225 | $ranlib = |
| 3226 | $arflags = | ||
| 3002 | 3227 | ||
| 3003 | *** linux-sparcv8 | 3228 | *** linux-sparcv8 |
| 3004 | $cc = gcc | 3229 | $cc = gcc |
| @@ -3023,6 +3248,7 @@ $shared_cflag = -fPIC | |||
| 3023 | $shared_ldflag = | 3248 | $shared_ldflag = |
| 3024 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3249 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3025 | $ranlib = | 3250 | $ranlib = |
| 3251 | $arflags = | ||
| 3026 | 3252 | ||
| 3027 | *** linux-sparcv9 | 3253 | *** linux-sparcv9 |
| 3028 | $cc = gcc | 3254 | $cc = gcc |
| @@ -3047,6 +3273,7 @@ $shared_cflag = -fPIC | |||
| 3047 | $shared_ldflag = | 3273 | $shared_ldflag = |
| 3048 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3274 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3049 | $ranlib = | 3275 | $ranlib = |
| 3276 | $arflags = | ||
| 3050 | 3277 | ||
| 3051 | *** ncr-scde | 3278 | *** ncr-scde |
| 3052 | $cc = cc | 3279 | $cc = cc |
| @@ -3071,6 +3298,7 @@ $shared_cflag = | |||
| 3071 | $shared_ldflag = | 3298 | $shared_ldflag = |
| 3072 | $shared_extension = | 3299 | $shared_extension = |
| 3073 | $ranlib = | 3300 | $ranlib = |
| 3301 | $arflags = | ||
| 3074 | 3302 | ||
| 3075 | *** newsos4-gcc | 3303 | *** newsos4-gcc |
| 3076 | $cc = gcc | 3304 | $cc = gcc |
| @@ -3095,6 +3323,7 @@ $shared_cflag = | |||
| 3095 | $shared_ldflag = | 3323 | $shared_ldflag = |
| 3096 | $shared_extension = | 3324 | $shared_extension = |
| 3097 | $ranlib = | 3325 | $ranlib = |
| 3326 | $arflags = | ||
| 3098 | 3327 | ||
| 3099 | *** nextstep | 3328 | *** nextstep |
| 3100 | $cc = cc | 3329 | $cc = cc |
| @@ -3119,6 +3348,7 @@ $shared_cflag = | |||
| 3119 | $shared_ldflag = | 3348 | $shared_ldflag = |
| 3120 | $shared_extension = | 3349 | $shared_extension = |
| 3121 | $ranlib = | 3350 | $ranlib = |
| 3351 | $arflags = | ||
| 3122 | 3352 | ||
| 3123 | *** nextstep3.3 | 3353 | *** nextstep3.3 |
| 3124 | $cc = cc | 3354 | $cc = cc |
| @@ -3143,6 +3373,7 @@ $shared_cflag = | |||
| 3143 | $shared_ldflag = | 3373 | $shared_ldflag = |
| 3144 | $shared_extension = | 3374 | $shared_extension = |
| 3145 | $ranlib = | 3375 | $ranlib = |
| 3376 | $arflags = | ||
| 3146 | 3377 | ||
| 3147 | *** purify | 3378 | *** purify |
| 3148 | $cc = purify gcc | 3379 | $cc = purify gcc |
| @@ -3167,6 +3398,7 @@ $shared_cflag = | |||
| 3167 | $shared_ldflag = | 3398 | $shared_ldflag = |
| 3168 | $shared_extension = | 3399 | $shared_extension = |
| 3169 | $ranlib = | 3400 | $ranlib = |
| 3401 | $arflags = | ||
| 3170 | 3402 | ||
| 3171 | *** qnx4 | 3403 | *** qnx4 |
| 3172 | $cc = cc | 3404 | $cc = cc |
| @@ -3191,6 +3423,7 @@ $shared_cflag = | |||
| 3191 | $shared_ldflag = | 3423 | $shared_ldflag = |
| 3192 | $shared_extension = | 3424 | $shared_extension = |
| 3193 | $ranlib = | 3425 | $ranlib = |
| 3426 | $arflags = | ||
| 3194 | 3427 | ||
| 3195 | *** qnx6 | 3428 | *** qnx6 |
| 3196 | $cc = cc | 3429 | $cc = cc |
| @@ -3215,6 +3448,7 @@ $shared_cflag = | |||
| 3215 | $shared_ldflag = | 3448 | $shared_ldflag = |
| 3216 | $shared_extension = | 3449 | $shared_extension = |
| 3217 | $ranlib = | 3450 | $ranlib = |
| 3451 | $arflags = | ||
| 3218 | 3452 | ||
| 3219 | *** rhapsody-ppc-cc | 3453 | *** rhapsody-ppc-cc |
| 3220 | $cc = cc | 3454 | $cc = cc |
| @@ -3239,6 +3473,7 @@ $shared_cflag = | |||
| 3239 | $shared_ldflag = | 3473 | $shared_ldflag = |
| 3240 | $shared_extension = | 3474 | $shared_extension = |
| 3241 | $ranlib = | 3475 | $ranlib = |
| 3476 | $arflags = | ||
| 3242 | 3477 | ||
| 3243 | *** sco3-gcc | 3478 | *** sco3-gcc |
| 3244 | $cc = gcc | 3479 | $cc = gcc |
| @@ -3263,6 +3498,7 @@ $shared_cflag = | |||
| 3263 | $shared_ldflag = | 3498 | $shared_ldflag = |
| 3264 | $shared_extension = | 3499 | $shared_extension = |
| 3265 | $ranlib = | 3500 | $ranlib = |
| 3501 | $arflags = | ||
| 3266 | 3502 | ||
| 3267 | *** sco5-cc | 3503 | *** sco5-cc |
| 3268 | $cc = cc | 3504 | $cc = cc |
| @@ -3287,6 +3523,7 @@ $shared_cflag = -Kpic | |||
| 3287 | $shared_ldflag = | 3523 | $shared_ldflag = |
| 3288 | $shared_extension = | 3524 | $shared_extension = |
| 3289 | $ranlib = | 3525 | $ranlib = |
| 3526 | $arflags = | ||
| 3290 | 3527 | ||
| 3291 | *** sco5-cc-pentium | 3528 | *** sco5-cc-pentium |
| 3292 | $cc = cc | 3529 | $cc = cc |
| @@ -3311,6 +3548,7 @@ $shared_cflag = | |||
| 3311 | $shared_ldflag = | 3548 | $shared_ldflag = |
| 3312 | $shared_extension = | 3549 | $shared_extension = |
| 3313 | $ranlib = | 3550 | $ranlib = |
| 3551 | $arflags = | ||
| 3314 | 3552 | ||
| 3315 | *** sco5-gcc | 3553 | *** sco5-gcc |
| 3316 | $cc = gcc | 3554 | $cc = gcc |
| @@ -3335,6 +3573,7 @@ $shared_cflag = -fPIC | |||
| 3335 | $shared_ldflag = | 3573 | $shared_ldflag = |
| 3336 | $shared_extension = | 3574 | $shared_extension = |
| 3337 | $ranlib = | 3575 | $ranlib = |
| 3576 | $arflags = | ||
| 3338 | 3577 | ||
| 3339 | *** solaris-sparc-sc3 | 3578 | *** solaris-sparc-sc3 |
| 3340 | $cc = cc | 3579 | $cc = cc |
| @@ -3359,6 +3598,7 @@ $shared_cflag = -KPIC | |||
| 3359 | $shared_ldflag = | 3598 | $shared_ldflag = |
| 3360 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3599 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3361 | $ranlib = | 3600 | $ranlib = |
| 3601 | $arflags = | ||
| 3362 | 3602 | ||
| 3363 | *** solaris-sparcv7-cc | 3603 | *** solaris-sparcv7-cc |
| 3364 | $cc = cc | 3604 | $cc = cc |
| @@ -3383,6 +3623,7 @@ $shared_cflag = -KPIC | |||
| 3383 | $shared_ldflag = | 3623 | $shared_ldflag = |
| 3384 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3624 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3385 | $ranlib = | 3625 | $ranlib = |
| 3626 | $arflags = | ||
| 3386 | 3627 | ||
| 3387 | *** solaris-sparcv7-gcc | 3628 | *** solaris-sparcv7-gcc |
| 3388 | $cc = gcc | 3629 | $cc = gcc |
| @@ -3407,6 +3648,7 @@ $shared_cflag = -fPIC | |||
| 3407 | $shared_ldflag = | 3648 | $shared_ldflag = |
| 3408 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3649 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3409 | $ranlib = | 3650 | $ranlib = |
| 3651 | $arflags = | ||
| 3410 | 3652 | ||
| 3411 | *** solaris-sparcv8-cc | 3653 | *** solaris-sparcv8-cc |
| 3412 | $cc = cc | 3654 | $cc = cc |
| @@ -3431,6 +3673,7 @@ $shared_cflag = -KPIC | |||
| 3431 | $shared_ldflag = | 3673 | $shared_ldflag = |
| 3432 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3674 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3433 | $ranlib = | 3675 | $ranlib = |
| 3676 | $arflags = | ||
| 3434 | 3677 | ||
| 3435 | *** solaris-sparcv8-gcc | 3678 | *** solaris-sparcv8-gcc |
| 3436 | $cc = gcc | 3679 | $cc = gcc |
| @@ -3455,6 +3698,7 @@ $shared_cflag = -fPIC | |||
| 3455 | $shared_ldflag = | 3698 | $shared_ldflag = |
| 3456 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3699 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3457 | $ranlib = | 3700 | $ranlib = |
| 3701 | $arflags = | ||
| 3458 | 3702 | ||
| 3459 | *** solaris-sparcv9-cc | 3703 | *** solaris-sparcv9-cc |
| 3460 | $cc = cc | 3704 | $cc = cc |
| @@ -3479,6 +3723,7 @@ $shared_cflag = -KPIC | |||
| 3479 | $shared_ldflag = | 3723 | $shared_ldflag = |
| 3480 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3724 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3481 | $ranlib = | 3725 | $ranlib = |
| 3726 | $arflags = | ||
| 3482 | 3727 | ||
| 3483 | *** solaris-sparcv9-gcc | 3728 | *** solaris-sparcv9-gcc |
| 3484 | $cc = gcc | 3729 | $cc = gcc |
| @@ -3503,6 +3748,7 @@ $shared_cflag = -fPIC | |||
| 3503 | $shared_ldflag = | 3748 | $shared_ldflag = |
| 3504 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3749 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3505 | $ranlib = | 3750 | $ranlib = |
| 3751 | $arflags = | ||
| 3506 | 3752 | ||
| 3507 | *** solaris-sparcv9-gcc27 | 3753 | *** solaris-sparcv9-gcc27 |
| 3508 | $cc = gcc | 3754 | $cc = gcc |
| @@ -3527,6 +3773,7 @@ $shared_cflag = -fPIC | |||
| 3527 | $shared_ldflag = | 3773 | $shared_ldflag = |
| 3528 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3774 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3529 | $ranlib = | 3775 | $ranlib = |
| 3776 | $arflags = | ||
| 3530 | 3777 | ||
| 3531 | *** solaris-x86-cc | 3778 | *** solaris-x86-cc |
| 3532 | $cc = cc | 3779 | $cc = cc |
| @@ -3551,6 +3798,7 @@ $shared_cflag = -KPIC | |||
| 3551 | $shared_ldflag = | 3798 | $shared_ldflag = |
| 3552 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3799 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3553 | $ranlib = | 3800 | $ranlib = |
| 3801 | $arflags = | ||
| 3554 | 3802 | ||
| 3555 | *** solaris-x86-gcc | 3803 | *** solaris-x86-gcc |
| 3556 | $cc = gcc | 3804 | $cc = gcc |
| @@ -3575,6 +3823,7 @@ $shared_cflag = -fPIC | |||
| 3575 | $shared_ldflag = | 3823 | $shared_ldflag = |
| 3576 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3824 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3577 | $ranlib = | 3825 | $ranlib = |
| 3826 | $arflags = | ||
| 3578 | 3827 | ||
| 3579 | *** solaris64-sparcv9-cc | 3828 | *** solaris64-sparcv9-cc |
| 3580 | $cc = cc | 3829 | $cc = cc |
| @@ -3599,6 +3848,7 @@ $shared_cflag = -KPIC | |||
| 3599 | $shared_ldflag = -xarch=v9 | 3848 | $shared_ldflag = -xarch=v9 |
| 3600 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3849 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3601 | $ranlib = /usr/ccs/bin/ar rs | 3850 | $ranlib = /usr/ccs/bin/ar rs |
| 3851 | $arflags = | ||
| 3602 | 3852 | ||
| 3603 | *** solaris64-sparcv9-gcc | 3853 | *** solaris64-sparcv9-gcc |
| 3604 | $cc = gcc | 3854 | $cc = gcc |
| @@ -3620,9 +3870,10 @@ $rc5_obj = | |||
| 3620 | $dso_scheme = dlfcn | 3870 | $dso_scheme = dlfcn |
| 3621 | $shared_target= solaris-shared | 3871 | $shared_target= solaris-shared |
| 3622 | $shared_cflag = -fPIC | 3872 | $shared_cflag = -fPIC |
| 3623 | $shared_ldflag = | 3873 | $shared_ldflag = -m64 |
| 3624 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3874 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3625 | $ranlib = | 3875 | $ranlib = |
| 3876 | $arflags = | ||
| 3626 | 3877 | ||
| 3627 | *** solaris64-sparcv9-gcc31 | 3878 | *** solaris64-sparcv9-gcc31 |
| 3628 | $cc = gcc | 3879 | $cc = gcc |
| @@ -3644,9 +3895,10 @@ $rc5_obj = | |||
| 3644 | $dso_scheme = dlfcn | 3895 | $dso_scheme = dlfcn |
| 3645 | $shared_target= solaris-shared | 3896 | $shared_target= solaris-shared |
| 3646 | $shared_cflag = -fPIC | 3897 | $shared_cflag = -fPIC |
| 3647 | $shared_ldflag = | 3898 | $shared_ldflag = -m64 |
| 3648 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 3899 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3649 | $ranlib = | 3900 | $ranlib = |
| 3901 | $arflags = | ||
| 3650 | 3902 | ||
| 3651 | *** sunos-gcc | 3903 | *** sunos-gcc |
| 3652 | $cc = gcc | 3904 | $cc = gcc |
| @@ -3671,6 +3923,7 @@ $shared_cflag = | |||
| 3671 | $shared_ldflag = | 3923 | $shared_ldflag = |
| 3672 | $shared_extension = | 3924 | $shared_extension = |
| 3673 | $ranlib = | 3925 | $ranlib = |
| 3926 | $arflags = | ||
| 3674 | 3927 | ||
| 3675 | *** ultrix-cc | 3928 | *** ultrix-cc |
| 3676 | $cc = cc | 3929 | $cc = cc |
| @@ -3695,6 +3948,7 @@ $shared_cflag = | |||
| 3695 | $shared_ldflag = | 3948 | $shared_ldflag = |
| 3696 | $shared_extension = | 3949 | $shared_extension = |
| 3697 | $ranlib = | 3950 | $ranlib = |
| 3951 | $arflags = | ||
| 3698 | 3952 | ||
| 3699 | *** ultrix-gcc | 3953 | *** ultrix-gcc |
| 3700 | $cc = gcc | 3954 | $cc = gcc |
| @@ -3719,14 +3973,15 @@ $shared_cflag = | |||
| 3719 | $shared_ldflag = | 3973 | $shared_ldflag = |
| 3720 | $shared_extension = | 3974 | $shared_extension = |
| 3721 | $ranlib = | 3975 | $ranlib = |
| 3976 | $arflags = | ||
| 3722 | 3977 | ||
| 3723 | *** unixware-2.0 | 3978 | *** unixware-2.0 |
| 3724 | $cc = cc | 3979 | $cc = cc |
| 3725 | $cflags = -DFILIO_H | 3980 | $cflags = -DFILIO_H -DNO_STRINGS_H |
| 3726 | $unistd = | 3981 | $unistd = |
| 3727 | $thread_cflag = -Kthread | 3982 | $thread_cflag = -Kthread |
| 3728 | $sys_id = | 3983 | $sys_id = |
| 3729 | $lflags = -lsocket -lnsl -lx | 3984 | $lflags = -lsocket -lnsl -lresolv -lx |
| 3730 | $bn_ops = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT | 3985 | $bn_ops = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT |
| 3731 | $bn_obj = | 3986 | $bn_obj = |
| 3732 | $des_obj = | 3987 | $des_obj = |
| @@ -3743,14 +3998,15 @@ $shared_cflag = | |||
| 3743 | $shared_ldflag = | 3998 | $shared_ldflag = |
| 3744 | $shared_extension = | 3999 | $shared_extension = |
| 3745 | $ranlib = | 4000 | $ranlib = |
| 4001 | $arflags = | ||
| 3746 | 4002 | ||
| 3747 | *** unixware-2.0-pentium | 4003 | *** unixware-2.0-pentium |
| 3748 | $cc = cc | 4004 | $cc = cc |
| 3749 | $cflags = -DFILIO_H -Kpentium | 4005 | $cflags = -DFILIO_H -DNO_STRINGS_H -Kpentium |
| 3750 | $unistd = | 4006 | $unistd = |
| 3751 | $thread_cflag = -Kthread | 4007 | $thread_cflag = -Kthread |
| 3752 | $sys_id = | 4008 | $sys_id = |
| 3753 | $lflags = -lsocket -lnsl -lx | 4009 | $lflags = -lsocket -lnsl -lresolv -lx |
| 3754 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL | 4010 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL |
| 3755 | $bn_obj = | 4011 | $bn_obj = |
| 3756 | $des_obj = | 4012 | $des_obj = |
| @@ -3767,6 +4023,7 @@ $shared_cflag = | |||
| 3767 | $shared_ldflag = | 4023 | $shared_ldflag = |
| 3768 | $shared_extension = | 4024 | $shared_extension = |
| 3769 | $ranlib = | 4025 | $ranlib = |
| 4026 | $arflags = | ||
| 3770 | 4027 | ||
| 3771 | *** unixware-2.1 | 4028 | *** unixware-2.1 |
| 3772 | $cc = cc | 4029 | $cc = cc |
| @@ -3774,7 +4031,7 @@ $cflags = -O -DFILIO_H | |||
| 3774 | $unistd = | 4031 | $unistd = |
| 3775 | $thread_cflag = -Kthread | 4032 | $thread_cflag = -Kthread |
| 3776 | $sys_id = | 4033 | $sys_id = |
| 3777 | $lflags = -lsocket -lnsl -lx | 4034 | $lflags = -lsocket -lnsl -lresolv -lx |
| 3778 | $bn_ops = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT | 4035 | $bn_ops = DES_PTR DES_RISC1 DES_UNROLL RC4_INDEX MD2_INT |
| 3779 | $bn_obj = | 4036 | $bn_obj = |
| 3780 | $des_obj = | 4037 | $des_obj = |
| @@ -3791,6 +4048,7 @@ $shared_cflag = | |||
| 3791 | $shared_ldflag = | 4048 | $shared_ldflag = |
| 3792 | $shared_extension = | 4049 | $shared_extension = |
| 3793 | $ranlib = | 4050 | $ranlib = |
| 4051 | $arflags = | ||
| 3794 | 4052 | ||
| 3795 | *** unixware-2.1-p6 | 4053 | *** unixware-2.1-p6 |
| 3796 | $cc = cc | 4054 | $cc = cc |
| @@ -3798,7 +4056,7 @@ $cflags = -O -DFILIO_H -Kp6 | |||
| 3798 | $unistd = | 4056 | $unistd = |
| 3799 | $thread_cflag = -Kthread | 4057 | $thread_cflag = -Kthread |
| 3800 | $sys_id = | 4058 | $sys_id = |
| 3801 | $lflags = -lsocket -lnsl -lx | 4059 | $lflags = -lsocket -lnsl -lresolv -lx |
| 3802 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL | 4060 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL |
| 3803 | $bn_obj = | 4061 | $bn_obj = |
| 3804 | $des_obj = | 4062 | $des_obj = |
| @@ -3815,6 +4073,7 @@ $shared_cflag = | |||
| 3815 | $shared_ldflag = | 4073 | $shared_ldflag = |
| 3816 | $shared_extension = | 4074 | $shared_extension = |
| 3817 | $ranlib = | 4075 | $ranlib = |
| 4076 | $arflags = | ||
| 3818 | 4077 | ||
| 3819 | *** unixware-2.1-pentium | 4078 | *** unixware-2.1-pentium |
| 3820 | $cc = cc | 4079 | $cc = cc |
| @@ -3822,7 +4081,7 @@ $cflags = -O -DFILIO_H -Kpentium | |||
| 3822 | $unistd = | 4081 | $unistd = |
| 3823 | $thread_cflag = -Kthread | 4082 | $thread_cflag = -Kthread |
| 3824 | $sys_id = | 4083 | $sys_id = |
| 3825 | $lflags = -lsocket -lnsl -lx | 4084 | $lflags = -lsocket -lnsl -lresolv -lx |
| 3826 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL | 4085 | $bn_ops = MD2_CHAR RC4_INDEX DES_PTR DES_RISC1 DES_UNROLL |
| 3827 | $bn_obj = | 4086 | $bn_obj = |
| 3828 | $des_obj = | 4087 | $des_obj = |
| @@ -3839,6 +4098,7 @@ $shared_cflag = | |||
| 3839 | $shared_ldflag = | 4098 | $shared_ldflag = |
| 3840 | $shared_extension = | 4099 | $shared_extension = |
| 3841 | $ranlib = | 4100 | $ranlib = |
| 4101 | $arflags = | ||
| 3842 | 4102 | ||
| 3843 | *** unixware-7 | 4103 | *** unixware-7 |
| 3844 | $cc = cc | 4104 | $cc = cc |
| @@ -3863,6 +4123,7 @@ $shared_cflag = -Kpic | |||
| 3863 | $shared_ldflag = | 4123 | $shared_ldflag = |
| 3864 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 4124 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3865 | $ranlib = | 4125 | $ranlib = |
| 4126 | $arflags = | ||
| 3866 | 4127 | ||
| 3867 | *** unixware-7-gcc | 4128 | *** unixware-7-gcc |
| 3868 | $cc = gcc | 4129 | $cc = gcc |
| @@ -3887,6 +4148,7 @@ $shared_cflag = -fPIC | |||
| 3887 | $shared_ldflag = | 4148 | $shared_ldflag = |
| 3888 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 4149 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3889 | $ranlib = | 4150 | $ranlib = |
| 4151 | $arflags = | ||
| 3890 | 4152 | ||
| 3891 | *** unixware-7-pentium | 4153 | *** unixware-7-pentium |
| 3892 | $cc = cc | 4154 | $cc = cc |
| @@ -3911,6 +4173,7 @@ $shared_cflag = -Kpic | |||
| 3911 | $shared_ldflag = | 4173 | $shared_ldflag = |
| 3912 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 4174 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3913 | $ranlib = | 4175 | $ranlib = |
| 4176 | $arflags = | ||
| 3914 | 4177 | ||
| 3915 | *** unixware-7-pentium_pro | 4178 | *** unixware-7-pentium_pro |
| 3916 | $cc = cc | 4179 | $cc = cc |
| @@ -3935,6 +4198,7 @@ $shared_cflag = -Kpic | |||
| 3935 | $shared_ldflag = | 4198 | $shared_ldflag = |
| 3936 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 4199 | $shared_extension = .so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
| 3937 | $ranlib = | 4200 | $ranlib = |
| 4201 | $arflags = | ||
| 3938 | 4202 | ||
| 3939 | *** vxworks-ppc405 | 4203 | *** vxworks-ppc405 |
| 3940 | $cc = ccppc | 4204 | $cc = ccppc |
| @@ -3959,3 +4223,4 @@ $shared_cflag = | |||
| 3959 | $shared_ldflag = | 4223 | $shared_ldflag = |
| 3960 | $shared_extension = | 4224 | $shared_extension = |
| 3961 | $ranlib = | 4225 | $ranlib = |
| 4226 | $arflags = | ||
diff --git a/src/lib/libssl/src/apps/Makefile.ssl b/src/lib/libssl/src/apps/Makefile.ssl index c92009e82f..bb66ebbd60 100644 --- a/src/lib/libssl/src/apps/Makefile.ssl +++ b/src/lib/libssl/src/apps/Makefile.ssl | |||
| @@ -157,612 +157,867 @@ progs.h: progs.pl | |||
| 157 | 157 | ||
| 158 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 158 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 159 | 159 | ||
| 160 | app_rand.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 160 | app_rand.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 161 | app_rand.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 161 | app_rand.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 162 | app_rand.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 162 | app_rand.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 163 | app_rand.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 163 | app_rand.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 164 | app_rand.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 164 | app_rand.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 165 | app_rand.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 165 | app_rand.o: ../include/openssl/err.h ../include/openssl/evp.h | 166 | app_rand.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 166 | app_rand.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 167 | app_rand.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 168 | app_rand.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 169 | app_rand.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 170 | app_rand.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 171 | app_rand.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 167 | app_rand.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 172 | app_rand.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 168 | app_rand.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 173 | app_rand.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 169 | app_rand.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 174 | app_rand.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 175 | app_rand.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 176 | app_rand.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 170 | app_rand.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 177 | app_rand.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 171 | app_rand.o: ../include/openssl/sha.h ../include/openssl/stack.h | 178 | app_rand.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 172 | app_rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 179 | app_rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 173 | app_rand.o: ../include/openssl/ui.h ../include/openssl/x509.h | 180 | app_rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 174 | app_rand.o: ../include/openssl/x509_vfy.h app_rand.c apps.h | 181 | app_rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h app_rand.c |
| 175 | apps.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 182 | app_rand.o: apps.h |
| 183 | apps.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 184 | apps.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 176 | apps.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 185 | apps.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 177 | apps.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 186 | apps.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 178 | apps.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 187 | apps.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 179 | apps.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 188 | apps.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 180 | apps.o: ../include/openssl/err.h ../include/openssl/evp.h | 189 | apps.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 181 | apps.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 190 | apps.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 191 | apps.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 192 | apps.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 193 | apps.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 194 | apps.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 182 | apps.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 195 | apps.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 183 | apps.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 196 | apps.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 184 | apps.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 197 | apps.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 185 | apps.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h | 198 | apps.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h |
| 186 | apps.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 199 | apps.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
| 200 | apps.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | ||
| 201 | apps.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | ||
| 187 | apps.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 202 | apps.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 188 | apps.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 203 | apps.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 189 | apps.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 204 | apps.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 190 | apps.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 205 | apps.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 191 | apps.o: ../include/openssl/x509v3.h apps.c apps.h | 206 | apps.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.c apps.h |
| 192 | asn1pars.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 207 | asn1pars.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 208 | asn1pars.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 193 | asn1pars.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 209 | asn1pars.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 194 | asn1pars.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 210 | asn1pars.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 195 | asn1pars.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 211 | asn1pars.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 196 | asn1pars.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 212 | asn1pars.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 197 | asn1pars.o: ../include/openssl/err.h ../include/openssl/evp.h | 213 | asn1pars.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 198 | asn1pars.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 214 | asn1pars.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 215 | asn1pars.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 216 | asn1pars.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 217 | asn1pars.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 218 | asn1pars.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 199 | asn1pars.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 219 | asn1pars.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 200 | asn1pars.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 220 | asn1pars.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 201 | asn1pars.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 221 | asn1pars.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 202 | asn1pars.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 222 | asn1pars.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 223 | asn1pars.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 224 | asn1pars.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 203 | asn1pars.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 225 | asn1pars.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 204 | asn1pars.o: ../include/openssl/sha.h ../include/openssl/stack.h | 226 | asn1pars.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 205 | asn1pars.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 227 | asn1pars.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 206 | asn1pars.o: ../include/openssl/ui.h ../include/openssl/x509.h | 228 | asn1pars.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 207 | asn1pars.o: ../include/openssl/x509_vfy.h apps.h asn1pars.c | 229 | asn1pars.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 208 | ca.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 230 | asn1pars.o: asn1pars.c |
| 231 | ca.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 232 | ca.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 209 | ca.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 233 | ca.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 210 | ca.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 234 | ca.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 211 | ca.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 235 | ca.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 212 | ca.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 236 | ca.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 213 | ca.o: ../include/openssl/err.h ../include/openssl/evp.h | 237 | ca.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 214 | ca.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 238 | ca.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 239 | ca.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 240 | ca.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 241 | ca.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 242 | ca.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 215 | ca.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | 243 | ca.o: ../include/openssl/objects.h ../include/openssl/ocsp.h |
| 216 | ca.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 244 | ca.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 217 | ca.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 245 | ca.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
| 218 | ca.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 246 | ca.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
| 219 | ca.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 247 | ca.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
| 248 | ca.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | ||
| 249 | ca.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | ||
| 220 | ca.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 250 | ca.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 221 | ca.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 251 | ca.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 222 | ca.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 252 | ca.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 223 | ca.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 253 | ca.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 224 | ca.o: ../include/openssl/x509v3.h apps.h ca.c | 254 | ca.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h ca.c |
| 225 | ciphers.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 255 | ciphers.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 256 | ciphers.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 226 | ciphers.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 257 | ciphers.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 227 | ciphers.o: ../include/openssl/comp.h ../include/openssl/conf.h | 258 | ciphers.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 228 | ciphers.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 259 | ciphers.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 229 | ciphers.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 260 | ciphers.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 230 | ciphers.o: ../include/openssl/engine.h ../include/openssl/err.h | 261 | ciphers.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 231 | ciphers.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 262 | ciphers.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 232 | ciphers.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 263 | ciphers.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 264 | ciphers.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 265 | ciphers.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 266 | ciphers.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 267 | ciphers.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 233 | ciphers.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 268 | ciphers.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 234 | ciphers.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 269 | ciphers.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 235 | ciphers.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 270 | ciphers.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 236 | ciphers.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 271 | ciphers.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 272 | ciphers.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 273 | ciphers.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 237 | ciphers.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 274 | ciphers.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 238 | ciphers.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 275 | ciphers.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 239 | ciphers.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 276 | ciphers.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 240 | ciphers.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 277 | ciphers.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 241 | ciphers.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 278 | ciphers.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 242 | ciphers.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 279 | ciphers.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 243 | ciphers.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 280 | ciphers.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 244 | ciphers.o: ciphers.c | 281 | ciphers.o: ../include/openssl/x509_vfy.h apps.h ciphers.c |
| 245 | crl.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 282 | crl.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 283 | crl.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 246 | crl.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 284 | crl.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 247 | crl.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 285 | crl.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 248 | crl.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 286 | crl.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 249 | crl.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 287 | crl.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 250 | crl.o: ../include/openssl/err.h ../include/openssl/evp.h | 288 | crl.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 251 | crl.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 289 | crl.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 290 | crl.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 291 | crl.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 292 | crl.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 293 | crl.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 252 | crl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 294 | crl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 253 | crl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 295 | crl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 254 | crl.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 296 | crl.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 255 | crl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 297 | crl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 298 | crl.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 299 | crl.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 256 | crl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 300 | crl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 257 | crl.o: ../include/openssl/sha.h ../include/openssl/stack.h | 301 | crl.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 258 | crl.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 302 | crl.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 259 | crl.o: ../include/openssl/ui.h ../include/openssl/x509.h | 303 | crl.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 260 | crl.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h crl.c | 304 | crl.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 261 | crl2p7.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 305 | crl.o: ../include/openssl/x509v3.h apps.h crl.c |
| 306 | crl2p7.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 307 | crl2p7.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 262 | crl2p7.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 308 | crl2p7.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 263 | crl2p7.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 309 | crl2p7.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 264 | crl2p7.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 310 | crl2p7.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 265 | crl2p7.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 311 | crl2p7.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 266 | crl2p7.o: ../include/openssl/err.h ../include/openssl/evp.h | 312 | crl2p7.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 267 | crl2p7.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 313 | crl2p7.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 314 | crl2p7.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 315 | crl2p7.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 316 | crl2p7.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 317 | crl2p7.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 268 | crl2p7.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 318 | crl2p7.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 269 | crl2p7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 319 | crl2p7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 270 | crl2p7.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 320 | crl2p7.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 271 | crl2p7.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 321 | crl2p7.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 322 | crl2p7.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 323 | crl2p7.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 272 | crl2p7.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 324 | crl2p7.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 273 | crl2p7.o: ../include/openssl/sha.h ../include/openssl/stack.h | 325 | crl2p7.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 274 | crl2p7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 326 | crl2p7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 275 | crl2p7.o: ../include/openssl/ui.h ../include/openssl/x509.h | 327 | crl2p7.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 276 | crl2p7.o: ../include/openssl/x509_vfy.h apps.h crl2p7.c | 328 | crl2p7.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 277 | dgst.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 329 | crl2p7.o: crl2p7.c |
| 330 | dgst.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 331 | dgst.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 278 | dgst.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 332 | dgst.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 279 | dgst.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 333 | dgst.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 280 | dgst.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 334 | dgst.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 281 | dgst.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 335 | dgst.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 282 | dgst.o: ../include/openssl/err.h ../include/openssl/evp.h | 336 | dgst.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 283 | dgst.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 337 | dgst.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 338 | dgst.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 339 | dgst.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 340 | dgst.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 341 | dgst.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 284 | dgst.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 342 | dgst.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 285 | dgst.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 343 | dgst.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 286 | dgst.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 344 | dgst.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 287 | dgst.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 345 | dgst.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 346 | dgst.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 347 | dgst.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 288 | dgst.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 348 | dgst.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 289 | dgst.o: ../include/openssl/sha.h ../include/openssl/stack.h | 349 | dgst.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 290 | dgst.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 350 | dgst.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 291 | dgst.o: ../include/openssl/ui.h ../include/openssl/x509.h | 351 | dgst.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 292 | dgst.o: ../include/openssl/x509_vfy.h apps.h dgst.c | 352 | dgst.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h dgst.c |
| 293 | dh.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 353 | dh.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 354 | dh.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 294 | dh.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 355 | dh.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 295 | dh.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 356 | dh.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 296 | dh.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 357 | dh.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 297 | dh.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 358 | dh.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 298 | dh.o: ../include/openssl/err.h ../include/openssl/evp.h | 359 | dh.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 299 | dh.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 360 | dh.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 361 | dh.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 362 | dh.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 363 | dh.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 364 | dh.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 300 | dh.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 365 | dh.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 301 | dh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 366 | dh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 302 | dh.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 367 | dh.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 303 | dh.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 368 | dh.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 369 | dh.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 370 | dh.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 304 | dh.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 371 | dh.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 305 | dh.o: ../include/openssl/sha.h ../include/openssl/stack.h | 372 | dh.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 306 | dh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 373 | dh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 307 | dh.o: ../include/openssl/ui.h ../include/openssl/x509.h | 374 | dh.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 308 | dh.o: ../include/openssl/x509_vfy.h apps.h dh.c | 375 | dh.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h dh.c |
| 309 | dsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 376 | dsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 377 | dsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 310 | dsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 378 | dsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 311 | dsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 379 | dsa.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 312 | dsa.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 380 | dsa.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 313 | dsa.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 381 | dsa.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 314 | dsa.o: ../include/openssl/err.h ../include/openssl/evp.h | 382 | dsa.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 315 | dsa.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 383 | dsa.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 384 | dsa.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 385 | dsa.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 386 | dsa.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 387 | dsa.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 316 | dsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 388 | dsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 317 | dsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 389 | dsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 318 | dsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 390 | dsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 319 | dsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 391 | dsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 392 | dsa.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 393 | dsa.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 320 | dsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 394 | dsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 321 | dsa.o: ../include/openssl/sha.h ../include/openssl/stack.h | 395 | dsa.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 322 | dsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 396 | dsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 323 | dsa.o: ../include/openssl/ui.h ../include/openssl/x509.h | 397 | dsa.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 324 | dsa.o: ../include/openssl/x509_vfy.h apps.h dsa.c | 398 | dsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h dsa.c |
| 325 | dsaparam.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 399 | dsaparam.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 400 | dsaparam.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 326 | dsaparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 401 | dsaparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 327 | dsaparam.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 402 | dsaparam.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 328 | dsaparam.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 403 | dsaparam.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 329 | dsaparam.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 404 | dsaparam.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 330 | dsaparam.o: ../include/openssl/err.h ../include/openssl/evp.h | 405 | dsaparam.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 331 | dsaparam.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 406 | dsaparam.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 407 | dsaparam.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 408 | dsaparam.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 409 | dsaparam.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 410 | dsaparam.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 332 | dsaparam.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 411 | dsaparam.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 333 | dsaparam.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 412 | dsaparam.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 334 | dsaparam.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 413 | dsaparam.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 335 | dsaparam.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 414 | dsaparam.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 415 | dsaparam.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 416 | dsaparam.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 336 | dsaparam.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 417 | dsaparam.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 337 | dsaparam.o: ../include/openssl/sha.h ../include/openssl/stack.h | 418 | dsaparam.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 338 | dsaparam.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 419 | dsaparam.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 339 | dsaparam.o: ../include/openssl/ui.h ../include/openssl/x509.h | 420 | dsaparam.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 340 | dsaparam.o: ../include/openssl/x509_vfy.h apps.h dsaparam.c | 421 | dsaparam.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 341 | enc.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 422 | dsaparam.o: dsaparam.c |
| 423 | enc.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 424 | enc.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 342 | enc.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 425 | enc.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 343 | enc.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 426 | enc.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 344 | enc.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 427 | enc.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 345 | enc.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 428 | enc.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 346 | enc.o: ../include/openssl/err.h ../include/openssl/evp.h | 429 | enc.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 347 | enc.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 430 | enc.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 431 | enc.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 432 | enc.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 433 | enc.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 434 | enc.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 348 | enc.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 435 | enc.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 349 | enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 436 | enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 350 | enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 437 | enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 351 | enc.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 438 | enc.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 439 | enc.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 440 | enc.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 352 | enc.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 441 | enc.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 353 | enc.o: ../include/openssl/sha.h ../include/openssl/stack.h | 442 | enc.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 354 | enc.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 443 | enc.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 355 | enc.o: ../include/openssl/ui.h ../include/openssl/x509.h | 444 | enc.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 356 | enc.o: ../include/openssl/x509_vfy.h apps.h enc.c | 445 | enc.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h enc.c |
| 357 | engine.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 446 | engine.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 447 | engine.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 358 | engine.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 448 | engine.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 359 | engine.o: ../include/openssl/comp.h ../include/openssl/conf.h | 449 | engine.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 360 | engine.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 450 | engine.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 361 | engine.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 451 | engine.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 362 | engine.o: ../include/openssl/engine.h ../include/openssl/err.h | 452 | engine.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 363 | engine.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 453 | engine.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 364 | engine.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 454 | engine.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 455 | engine.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 456 | engine.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 457 | engine.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 458 | engine.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 365 | engine.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 459 | engine.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 366 | engine.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 460 | engine.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 367 | engine.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 461 | engine.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 368 | engine.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 462 | engine.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 463 | engine.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 464 | engine.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 369 | engine.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 465 | engine.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 370 | engine.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 466 | engine.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 371 | engine.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 467 | engine.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 372 | engine.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 468 | engine.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 373 | engine.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 469 | engine.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 374 | engine.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 470 | engine.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 375 | engine.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 471 | engine.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 376 | engine.o: engine.c | 472 | engine.o: ../include/openssl/x509_vfy.h apps.h engine.c |
| 377 | errstr.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 473 | errstr.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 474 | errstr.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 378 | errstr.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 475 | errstr.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 379 | errstr.o: ../include/openssl/comp.h ../include/openssl/conf.h | 476 | errstr.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 380 | errstr.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 477 | errstr.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 381 | errstr.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 478 | errstr.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 382 | errstr.o: ../include/openssl/engine.h ../include/openssl/err.h | 479 | errstr.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 383 | errstr.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 480 | errstr.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 384 | errstr.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 481 | errstr.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 482 | errstr.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 483 | errstr.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 484 | errstr.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 485 | errstr.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 385 | errstr.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 486 | errstr.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 386 | errstr.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 487 | errstr.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 387 | errstr.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 488 | errstr.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 388 | errstr.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 489 | errstr.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 490 | errstr.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 491 | errstr.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 389 | errstr.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 492 | errstr.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 390 | errstr.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 493 | errstr.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 391 | errstr.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 494 | errstr.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 392 | errstr.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 495 | errstr.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 393 | errstr.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 496 | errstr.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 394 | errstr.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 497 | errstr.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 395 | errstr.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 498 | errstr.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 396 | errstr.o: errstr.c | 499 | errstr.o: ../include/openssl/x509_vfy.h apps.h errstr.c |
| 397 | gendh.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 500 | gendh.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 501 | gendh.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 398 | gendh.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 502 | gendh.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 399 | gendh.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 503 | gendh.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 400 | gendh.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 504 | gendh.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 401 | gendh.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 505 | gendh.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 402 | gendh.o: ../include/openssl/err.h ../include/openssl/evp.h | 506 | gendh.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 403 | gendh.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 507 | gendh.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 508 | gendh.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 509 | gendh.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 510 | gendh.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 511 | gendh.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 404 | gendh.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 512 | gendh.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 405 | gendh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 513 | gendh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 406 | gendh.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 514 | gendh.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 407 | gendh.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 515 | gendh.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 516 | gendh.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 517 | gendh.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 408 | gendh.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 518 | gendh.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 409 | gendh.o: ../include/openssl/sha.h ../include/openssl/stack.h | 519 | gendh.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 410 | gendh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 520 | gendh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 411 | gendh.o: ../include/openssl/ui.h ../include/openssl/x509.h | 521 | gendh.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 412 | gendh.o: ../include/openssl/x509_vfy.h apps.h gendh.c | 522 | gendh.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h gendh.c |
| 413 | gendsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 523 | gendsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 524 | gendsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 414 | gendsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 525 | gendsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 415 | gendsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 526 | gendsa.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 416 | gendsa.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 527 | gendsa.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 417 | gendsa.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 528 | gendsa.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 418 | gendsa.o: ../include/openssl/err.h ../include/openssl/evp.h | 529 | gendsa.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 419 | gendsa.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 530 | gendsa.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 531 | gendsa.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 532 | gendsa.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 533 | gendsa.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 534 | gendsa.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 420 | gendsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 535 | gendsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 421 | gendsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 536 | gendsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 422 | gendsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 537 | gendsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 423 | gendsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 538 | gendsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 539 | gendsa.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 540 | gendsa.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 424 | gendsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 541 | gendsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 425 | gendsa.o: ../include/openssl/sha.h ../include/openssl/stack.h | 542 | gendsa.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 426 | gendsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 543 | gendsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 427 | gendsa.o: ../include/openssl/ui.h ../include/openssl/x509.h | 544 | gendsa.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 428 | gendsa.o: ../include/openssl/x509_vfy.h apps.h gendsa.c | 545 | gendsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 429 | genrsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 546 | gendsa.o: gendsa.c |
| 547 | genrsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 548 | genrsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 430 | genrsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 549 | genrsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 431 | genrsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 550 | genrsa.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 432 | genrsa.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 551 | genrsa.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 433 | genrsa.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 552 | genrsa.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 434 | genrsa.o: ../include/openssl/err.h ../include/openssl/evp.h | 553 | genrsa.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 435 | genrsa.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 554 | genrsa.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 555 | genrsa.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 556 | genrsa.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 557 | genrsa.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 558 | genrsa.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 436 | genrsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 559 | genrsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 437 | genrsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 560 | genrsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 438 | genrsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 561 | genrsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 439 | genrsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 562 | genrsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 563 | genrsa.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 564 | genrsa.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 440 | genrsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 565 | genrsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 441 | genrsa.o: ../include/openssl/sha.h ../include/openssl/stack.h | 566 | genrsa.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 442 | genrsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 567 | genrsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 443 | genrsa.o: ../include/openssl/ui.h ../include/openssl/x509.h | 568 | genrsa.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 444 | genrsa.o: ../include/openssl/x509_vfy.h apps.h genrsa.c | 569 | genrsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 445 | nseq.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 570 | genrsa.o: genrsa.c |
| 571 | nseq.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 572 | nseq.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 446 | nseq.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 573 | nseq.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 447 | nseq.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 574 | nseq.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 448 | nseq.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 575 | nseq.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 449 | nseq.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 576 | nseq.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 450 | nseq.o: ../include/openssl/err.h ../include/openssl/evp.h | 577 | nseq.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 451 | nseq.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 578 | nseq.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 579 | nseq.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 580 | nseq.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 581 | nseq.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 582 | nseq.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 452 | nseq.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 583 | nseq.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 453 | nseq.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 584 | nseq.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 454 | nseq.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 585 | nseq.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 455 | nseq.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 586 | nseq.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 587 | nseq.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 588 | nseq.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 456 | nseq.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 589 | nseq.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 457 | nseq.o: ../include/openssl/sha.h ../include/openssl/stack.h | 590 | nseq.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 458 | nseq.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 591 | nseq.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 459 | nseq.o: ../include/openssl/ui.h ../include/openssl/x509.h | 592 | nseq.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 460 | nseq.o: ../include/openssl/x509_vfy.h apps.h nseq.c | 593 | nseq.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h nseq.c |
| 461 | ocsp.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 594 | ocsp.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 595 | ocsp.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 462 | ocsp.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 596 | ocsp.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 463 | ocsp.o: ../include/openssl/comp.h ../include/openssl/conf.h | 597 | ocsp.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 464 | ocsp.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 598 | ocsp.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 465 | ocsp.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 599 | ocsp.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 466 | ocsp.o: ../include/openssl/engine.h ../include/openssl/err.h | 600 | ocsp.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 467 | ocsp.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 601 | ocsp.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 468 | ocsp.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 602 | ocsp.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 603 | ocsp.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 604 | ocsp.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 605 | ocsp.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 606 | ocsp.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 469 | ocsp.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | 607 | ocsp.o: ../include/openssl/objects.h ../include/openssl/ocsp.h |
| 470 | ocsp.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 608 | ocsp.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
| 471 | ocsp.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 609 | ocsp.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
| 472 | ocsp.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 610 | ocsp.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
| 473 | ocsp.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 611 | ocsp.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
| 612 | ocsp.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | ||
| 613 | ocsp.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | ||
| 474 | ocsp.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 614 | ocsp.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 475 | ocsp.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h | 615 | ocsp.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h |
| 476 | ocsp.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h | 616 | ocsp.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h |
| 477 | ocsp.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 617 | ocsp.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 478 | ocsp.o: ../include/openssl/tls1.h ../include/openssl/txt_db.h | 618 | ocsp.o: ../include/openssl/tls1.h ../include/openssl/txt_db.h |
| 479 | ocsp.o: ../include/openssl/ui.h ../include/openssl/x509.h | 619 | ocsp.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 480 | ocsp.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h ocsp.c | 620 | ocsp.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 481 | openssl.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 621 | ocsp.o: ../include/openssl/x509v3.h apps.h ocsp.c |
| 622 | openssl.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 623 | openssl.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 482 | openssl.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 624 | openssl.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 483 | openssl.o: ../include/openssl/comp.h ../include/openssl/conf.h | 625 | openssl.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 484 | openssl.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 626 | openssl.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 485 | openssl.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 627 | openssl.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 486 | openssl.o: ../include/openssl/engine.h ../include/openssl/err.h | 628 | openssl.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 487 | openssl.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 629 | openssl.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 488 | openssl.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 630 | openssl.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 631 | openssl.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 632 | openssl.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 633 | openssl.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 634 | openssl.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 489 | openssl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 635 | openssl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 490 | openssl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 636 | openssl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 491 | openssl.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 637 | openssl.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 492 | openssl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 638 | openssl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 639 | openssl.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 640 | openssl.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 493 | openssl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 641 | openssl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 494 | openssl.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 642 | openssl.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 495 | openssl.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 643 | openssl.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 496 | openssl.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 644 | openssl.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 497 | openssl.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 645 | openssl.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 498 | openssl.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 646 | openssl.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 499 | openssl.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 647 | openssl.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 500 | openssl.o: openssl.c progs.h s_apps.h | 648 | openssl.o: ../include/openssl/x509_vfy.h apps.h openssl.c progs.h s_apps.h |
| 501 | passwd.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 649 | passwd.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 650 | passwd.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 502 | passwd.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 651 | passwd.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 503 | passwd.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 652 | passwd.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 504 | passwd.o: ../include/openssl/des.h ../include/openssl/des_old.h | 653 | passwd.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 505 | passwd.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 654 | passwd.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 506 | passwd.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 655 | passwd.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 507 | passwd.o: ../include/openssl/err.h ../include/openssl/evp.h | 656 | passwd.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 508 | passwd.o: ../include/openssl/lhash.h ../include/openssl/md5.h | 657 | passwd.o: ../include/openssl/evp.h ../include/openssl/idea.h |
| 509 | passwd.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 658 | passwd.o: ../include/openssl/lhash.h ../include/openssl/md2.h |
| 510 | passwd.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 659 | passwd.o: ../include/openssl/md4.h ../include/openssl/md5.h |
| 511 | passwd.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 660 | passwd.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h |
| 512 | passwd.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 661 | passwd.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 513 | passwd.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 662 | passwd.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 514 | passwd.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 663 | passwd.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 515 | passwd.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 664 | passwd.o: ../include/openssl/rc2.h ../include/openssl/rc4.h |
| 516 | passwd.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 665 | passwd.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h |
| 517 | passwd.o: ../include/openssl/x509_vfy.h apps.h passwd.c | 666 | passwd.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 518 | pkcs12.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 667 | passwd.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 668 | passwd.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | ||
| 669 | passwd.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | ||
| 670 | passwd.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | ||
| 671 | passwd.o: passwd.c | ||
| 672 | pkcs12.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 673 | pkcs12.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 519 | pkcs12.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 674 | pkcs12.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 520 | pkcs12.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 675 | pkcs12.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 521 | pkcs12.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 676 | pkcs12.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 522 | pkcs12.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 677 | pkcs12.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 523 | pkcs12.o: ../include/openssl/err.h ../include/openssl/evp.h | 678 | pkcs12.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 524 | pkcs12.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 679 | pkcs12.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 680 | pkcs12.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 681 | pkcs12.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 682 | pkcs12.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 683 | pkcs12.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 525 | pkcs12.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 684 | pkcs12.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 526 | pkcs12.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 685 | pkcs12.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 527 | pkcs12.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 686 | pkcs12.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 528 | pkcs12.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h | 687 | pkcs12.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h |
| 529 | pkcs12.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 688 | pkcs12.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
| 689 | pkcs12.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | ||
| 690 | pkcs12.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | ||
| 530 | pkcs12.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 691 | pkcs12.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 531 | pkcs12.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 692 | pkcs12.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 532 | pkcs12.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 693 | pkcs12.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 533 | pkcs12.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 694 | pkcs12.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 534 | pkcs12.o: pkcs12.c | 695 | pkcs12.o: ../include/openssl/x509_vfy.h apps.h pkcs12.c |
| 535 | pkcs7.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 696 | pkcs7.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 697 | pkcs7.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 536 | pkcs7.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 698 | pkcs7.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 537 | pkcs7.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 699 | pkcs7.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 538 | pkcs7.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 700 | pkcs7.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 539 | pkcs7.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 701 | pkcs7.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 540 | pkcs7.o: ../include/openssl/err.h ../include/openssl/evp.h | 702 | pkcs7.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 541 | pkcs7.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 703 | pkcs7.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 704 | pkcs7.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 705 | pkcs7.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 706 | pkcs7.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 707 | pkcs7.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 542 | pkcs7.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 708 | pkcs7.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 543 | pkcs7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 709 | pkcs7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 544 | pkcs7.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 710 | pkcs7.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 545 | pkcs7.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 711 | pkcs7.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 712 | pkcs7.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 713 | pkcs7.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 546 | pkcs7.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 714 | pkcs7.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 547 | pkcs7.o: ../include/openssl/sha.h ../include/openssl/stack.h | 715 | pkcs7.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 548 | pkcs7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 716 | pkcs7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 549 | pkcs7.o: ../include/openssl/ui.h ../include/openssl/x509.h | 717 | pkcs7.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 550 | pkcs7.o: ../include/openssl/x509_vfy.h apps.h pkcs7.c | 718 | pkcs7.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h pkcs7.c |
| 551 | pkcs8.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 719 | pkcs8.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 720 | pkcs8.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 552 | pkcs8.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 721 | pkcs8.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 553 | pkcs8.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 722 | pkcs8.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 554 | pkcs8.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 723 | pkcs8.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 555 | pkcs8.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 724 | pkcs8.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 556 | pkcs8.o: ../include/openssl/err.h ../include/openssl/evp.h | 725 | pkcs8.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 557 | pkcs8.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 726 | pkcs8.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 727 | pkcs8.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 728 | pkcs8.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 729 | pkcs8.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 730 | pkcs8.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 558 | pkcs8.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 731 | pkcs8.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 559 | pkcs8.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 732 | pkcs8.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 560 | pkcs8.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 733 | pkcs8.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 561 | pkcs8.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h | 734 | pkcs8.o: ../include/openssl/pkcs12.h ../include/openssl/pkcs7.h |
| 562 | pkcs8.o: ../include/openssl/rand.h ../include/openssl/rsa.h | 735 | pkcs8.o: ../include/openssl/rand.h ../include/openssl/rc2.h |
| 736 | pkcs8.o: ../include/openssl/rc4.h ../include/openssl/rc5.h | ||
| 737 | pkcs8.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h | ||
| 563 | pkcs8.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 738 | pkcs8.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
| 564 | pkcs8.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 739 | pkcs8.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
| 565 | pkcs8.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 740 | pkcs8.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 566 | pkcs8.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h pkcs8.c | 741 | pkcs8.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 567 | rand.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 742 | pkcs8.o: ../include/openssl/x509_vfy.h apps.h pkcs8.c |
| 743 | rand.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 744 | rand.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 568 | rand.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 745 | rand.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 569 | rand.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 746 | rand.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 570 | rand.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 747 | rand.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 571 | rand.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 748 | rand.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 572 | rand.o: ../include/openssl/err.h ../include/openssl/evp.h | 749 | rand.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 573 | rand.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 750 | rand.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 751 | rand.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 752 | rand.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 753 | rand.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 754 | rand.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 574 | rand.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 755 | rand.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 575 | rand.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 756 | rand.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 576 | rand.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 757 | rand.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 758 | rand.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 759 | rand.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 577 | rand.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 760 | rand.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 578 | rand.o: ../include/openssl/sha.h ../include/openssl/stack.h | 761 | rand.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 579 | rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 762 | rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 580 | rand.o: ../include/openssl/ui.h ../include/openssl/x509.h | 763 | rand.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 581 | rand.o: ../include/openssl/x509_vfy.h apps.h rand.c | 764 | rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rand.c |
| 582 | req.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 765 | req.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 766 | req.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 583 | req.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 767 | req.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 584 | req.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 768 | req.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 585 | req.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 769 | req.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 586 | req.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 770 | req.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 587 | req.o: ../include/openssl/err.h ../include/openssl/evp.h | 771 | req.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 588 | req.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 772 | req.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 773 | req.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 774 | req.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 775 | req.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 776 | req.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 589 | req.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 777 | req.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 590 | req.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 778 | req.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 591 | req.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 779 | req.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 592 | req.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 780 | req.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 781 | req.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 782 | req.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 593 | req.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 783 | req.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 594 | req.o: ../include/openssl/sha.h ../include/openssl/stack.h | 784 | req.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 595 | req.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 785 | req.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 596 | req.o: ../include/openssl/ui.h ../include/openssl/x509.h | 786 | req.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 597 | req.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h req.c | 787 | req.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 598 | rsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 788 | req.o: ../include/openssl/x509v3.h apps.h req.c |
| 789 | rsa.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 790 | rsa.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 599 | rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 791 | rsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 600 | rsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 792 | rsa.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 601 | rsa.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 793 | rsa.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 602 | rsa.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 794 | rsa.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 603 | rsa.o: ../include/openssl/err.h ../include/openssl/evp.h | 795 | rsa.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 604 | rsa.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 796 | rsa.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 797 | rsa.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 798 | rsa.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 799 | rsa.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 800 | rsa.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 605 | rsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 801 | rsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 606 | rsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 802 | rsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 607 | rsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 803 | rsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 608 | rsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 804 | rsa.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 805 | rsa.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 806 | rsa.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 609 | rsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 807 | rsa.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 610 | rsa.o: ../include/openssl/sha.h ../include/openssl/stack.h | 808 | rsa.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 611 | rsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 809 | rsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 612 | rsa.o: ../include/openssl/ui.h ../include/openssl/x509.h | 810 | rsa.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 613 | rsa.o: ../include/openssl/x509_vfy.h apps.h rsa.c | 811 | rsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h rsa.c |
| 614 | rsautl.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 812 | rsautl.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 813 | rsautl.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 615 | rsautl.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 814 | rsautl.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 616 | rsautl.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 815 | rsautl.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 617 | rsautl.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 816 | rsautl.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 618 | rsautl.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 817 | rsautl.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 619 | rsautl.o: ../include/openssl/err.h ../include/openssl/evp.h | 818 | rsautl.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 620 | rsautl.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 819 | rsautl.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 820 | rsautl.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 821 | rsautl.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 822 | rsautl.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 823 | rsautl.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 621 | rsautl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 824 | rsautl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 622 | rsautl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 825 | rsautl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 623 | rsautl.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 826 | rsautl.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 624 | rsautl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 827 | rsautl.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 828 | rsautl.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 829 | rsautl.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 625 | rsautl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 830 | rsautl.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 626 | rsautl.o: ../include/openssl/sha.h ../include/openssl/stack.h | 831 | rsautl.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 627 | rsautl.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 832 | rsautl.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 628 | rsautl.o: ../include/openssl/ui.h ../include/openssl/x509.h | 833 | rsautl.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 629 | rsautl.o: ../include/openssl/x509_vfy.h apps.h rsautl.c | 834 | rsautl.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 630 | s_cb.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 835 | rsautl.o: rsautl.c |
| 836 | s_cb.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | ||
| 837 | s_cb.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 631 | s_cb.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 838 | s_cb.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 632 | s_cb.o: ../include/openssl/comp.h ../include/openssl/conf.h | 839 | s_cb.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 633 | s_cb.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 840 | s_cb.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 634 | s_cb.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 841 | s_cb.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 635 | s_cb.o: ../include/openssl/engine.h ../include/openssl/err.h | 842 | s_cb.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 636 | s_cb.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 843 | s_cb.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 637 | s_cb.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 844 | s_cb.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 845 | s_cb.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 846 | s_cb.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 847 | s_cb.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 848 | s_cb.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 638 | s_cb.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 849 | s_cb.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 639 | s_cb.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 850 | s_cb.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 640 | s_cb.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 851 | s_cb.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 641 | s_cb.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 852 | s_cb.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 853 | s_cb.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 854 | s_cb.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 642 | s_cb.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 855 | s_cb.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 643 | s_cb.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 856 | s_cb.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 644 | s_cb.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 857 | s_cb.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 645 | s_cb.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 858 | s_cb.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 646 | s_cb.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 859 | s_cb.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 647 | s_cb.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 860 | s_cb.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 648 | s_cb.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h s_apps.h | 861 | s_cb.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 649 | s_cb.o: s_cb.c | 862 | s_cb.o: ../include/openssl/x509_vfy.h apps.h s_apps.h s_cb.c |
| 650 | s_client.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 863 | s_client.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 864 | s_client.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 651 | s_client.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 865 | s_client.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 652 | s_client.o: ../include/openssl/comp.h ../include/openssl/conf.h | 866 | s_client.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 653 | s_client.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 867 | s_client.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 654 | s_client.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 868 | s_client.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 655 | s_client.o: ../include/openssl/engine.h ../include/openssl/err.h | 869 | s_client.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 656 | s_client.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 870 | s_client.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 657 | s_client.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 871 | s_client.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 872 | s_client.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 873 | s_client.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 874 | s_client.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 875 | s_client.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 658 | s_client.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 876 | s_client.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 659 | s_client.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 877 | s_client.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 660 | s_client.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 878 | s_client.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 661 | s_client.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 879 | s_client.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 880 | s_client.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 881 | s_client.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 662 | s_client.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 882 | s_client.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 663 | s_client.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 883 | s_client.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 664 | s_client.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 884 | s_client.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 665 | s_client.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 885 | s_client.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 666 | s_client.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 886 | s_client.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 667 | s_client.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 887 | s_client.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 668 | s_client.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 888 | s_client.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 669 | s_client.o: s_apps.h s_client.c | 889 | s_client.o: ../include/openssl/x509_vfy.h apps.h s_apps.h s_client.c |
| 670 | s_server.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 890 | s_server.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 891 | s_server.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 671 | s_server.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 892 | s_server.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 672 | s_server.o: ../include/openssl/comp.h ../include/openssl/conf.h | 893 | s_server.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 673 | s_server.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 894 | s_server.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 674 | s_server.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 895 | s_server.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 675 | s_server.o: ../include/openssl/engine.h ../include/openssl/err.h | 896 | s_server.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 676 | s_server.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 897 | s_server.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 677 | s_server.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 898 | s_server.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 899 | s_server.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 900 | s_server.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 901 | s_server.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 902 | s_server.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 678 | s_server.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 903 | s_server.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 679 | s_server.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 904 | s_server.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 680 | s_server.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 905 | s_server.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 681 | s_server.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 906 | s_server.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 907 | s_server.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 908 | s_server.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 682 | s_server.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 909 | s_server.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 683 | s_server.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 910 | s_server.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 684 | s_server.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 911 | s_server.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 685 | s_server.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 912 | s_server.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 686 | s_server.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 913 | s_server.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 687 | s_server.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 914 | s_server.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 688 | s_server.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 915 | s_server.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 689 | s_server.o: s_apps.h s_server.c | 916 | s_server.o: ../include/openssl/x509_vfy.h apps.h s_apps.h s_server.c |
| 690 | s_socket.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 917 | s_socket.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 918 | s_socket.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 691 | s_socket.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 919 | s_socket.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 692 | s_socket.o: ../include/openssl/comp.h ../include/openssl/conf.h | 920 | s_socket.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 693 | s_socket.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 921 | s_socket.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 694 | s_socket.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 922 | s_socket.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 695 | s_socket.o: ../include/openssl/engine.h ../include/openssl/err.h | 923 | s_socket.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 696 | s_socket.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 924 | s_socket.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 697 | s_socket.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 925 | s_socket.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 926 | s_socket.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 927 | s_socket.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 928 | s_socket.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 929 | s_socket.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 698 | s_socket.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 930 | s_socket.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 699 | s_socket.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 931 | s_socket.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 700 | s_socket.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 932 | s_socket.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 701 | s_socket.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 933 | s_socket.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 934 | s_socket.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 935 | s_socket.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 702 | s_socket.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 936 | s_socket.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 703 | s_socket.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 937 | s_socket.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 704 | s_socket.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 938 | s_socket.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 705 | s_socket.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 939 | s_socket.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 706 | s_socket.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 940 | s_socket.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 707 | s_socket.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 941 | s_socket.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 708 | s_socket.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 942 | s_socket.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 709 | s_socket.o: s_apps.h s_socket.c | 943 | s_socket.o: ../include/openssl/x509_vfy.h apps.h s_apps.h s_socket.c |
| 710 | s_time.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 944 | s_time.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 945 | s_time.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 711 | s_time.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 946 | s_time.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 712 | s_time.o: ../include/openssl/comp.h ../include/openssl/conf.h | 947 | s_time.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 713 | s_time.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 948 | s_time.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 714 | s_time.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 949 | s_time.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 715 | s_time.o: ../include/openssl/engine.h ../include/openssl/err.h | 950 | s_time.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 716 | s_time.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 951 | s_time.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 717 | s_time.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 952 | s_time.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 953 | s_time.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 954 | s_time.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 955 | s_time.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 956 | s_time.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 718 | s_time.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 957 | s_time.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 719 | s_time.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 958 | s_time.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 720 | s_time.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 959 | s_time.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 721 | s_time.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 960 | s_time.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 961 | s_time.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 962 | s_time.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 722 | s_time.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 963 | s_time.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 723 | s_time.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 964 | s_time.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 724 | s_time.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 965 | s_time.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 725 | s_time.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 966 | s_time.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 726 | s_time.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 967 | s_time.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 727 | s_time.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 968 | s_time.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 728 | s_time.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 969 | s_time.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 729 | s_time.o: s_apps.h s_time.c | 970 | s_time.o: ../include/openssl/x509_vfy.h apps.h s_apps.h s_time.c |
| 730 | sess_id.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 971 | sess_id.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 972 | sess_id.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 731 | sess_id.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 973 | sess_id.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 732 | sess_id.o: ../include/openssl/comp.h ../include/openssl/conf.h | 974 | sess_id.o: ../include/openssl/cast.h ../include/openssl/comp.h |
| 733 | sess_id.o: ../include/openssl/crypto.h ../include/openssl/dh.h | 975 | sess_id.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
| 734 | sess_id.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 976 | sess_id.o: ../include/openssl/des.h ../include/openssl/des_old.h |
| 735 | sess_id.o: ../include/openssl/engine.h ../include/openssl/err.h | 977 | sess_id.o: ../include/openssl/dh.h ../include/openssl/dsa.h |
| 736 | sess_id.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 978 | sess_id.o: ../include/openssl/e_os2.h ../include/openssl/engine.h |
| 737 | sess_id.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 979 | sess_id.o: ../include/openssl/err.h ../include/openssl/evp.h |
| 980 | sess_id.o: ../include/openssl/idea.h ../include/openssl/kssl.h | ||
| 981 | sess_id.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 982 | sess_id.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 983 | sess_id.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 738 | sess_id.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 984 | sess_id.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 739 | sess_id.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 985 | sess_id.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 740 | sess_id.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 986 | sess_id.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 741 | sess_id.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 987 | sess_id.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 988 | sess_id.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 989 | sess_id.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 742 | sess_id.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 990 | sess_id.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 743 | sess_id.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 991 | sess_id.o: ../include/openssl/sha.h ../include/openssl/ssl.h |
| 744 | sess_id.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 992 | sess_id.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h |
| 745 | sess_id.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 993 | sess_id.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
| 746 | sess_id.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 994 | sess_id.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h |
| 747 | sess_id.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 995 | sess_id.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 748 | sess_id.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 996 | sess_id.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 749 | sess_id.o: sess_id.c | 997 | sess_id.o: ../include/openssl/x509_vfy.h apps.h sess_id.c |
| 750 | smime.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 998 | smime.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 999 | smime.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 751 | smime.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 1000 | smime.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 752 | smime.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 1001 | smime.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 753 | smime.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 1002 | smime.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 754 | smime.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 1003 | smime.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 755 | smime.o: ../include/openssl/err.h ../include/openssl/evp.h | 1004 | smime.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 756 | smime.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 1005 | smime.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 1006 | smime.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 1007 | smime.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 1008 | smime.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 1009 | smime.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 757 | smime.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 1010 | smime.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 758 | smime.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 1011 | smime.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 759 | smime.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 1012 | smime.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 760 | smime.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 1013 | smime.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 1014 | smime.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 1015 | smime.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 761 | smime.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 1016 | smime.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 762 | smime.o: ../include/openssl/sha.h ../include/openssl/stack.h | 1017 | smime.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 763 | smime.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 1018 | smime.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 764 | smime.o: ../include/openssl/ui.h ../include/openssl/x509.h | 1019 | smime.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 765 | smime.o: ../include/openssl/x509_vfy.h apps.h smime.c | 1020 | smime.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h smime.c |
| 766 | speed.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h | 1021 | speed.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 767 | speed.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | 1022 | speed.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
| 768 | speed.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 1023 | speed.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| @@ -786,71 +1041,97 @@ speed.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | |||
| 786 | speed.o: ../include/openssl/txt_db.h ../include/openssl/ui.h | 1041 | speed.o: ../include/openssl/txt_db.h ../include/openssl/ui.h |
| 787 | speed.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h | 1042 | speed.o: ../include/openssl/ui_compat.h ../include/openssl/x509.h |
| 788 | speed.o: ../include/openssl/x509_vfy.h apps.h speed.c testdsa.h testrsa.h | 1043 | speed.o: ../include/openssl/x509_vfy.h apps.h speed.c testdsa.h testrsa.h |
| 789 | spkac.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 1044 | spkac.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 1045 | spkac.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 790 | spkac.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 1046 | spkac.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 791 | spkac.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 1047 | spkac.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 792 | spkac.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 1048 | spkac.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 793 | spkac.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 1049 | spkac.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 794 | spkac.o: ../include/openssl/err.h ../include/openssl/evp.h | 1050 | spkac.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 795 | spkac.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 1051 | spkac.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 1052 | spkac.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 1053 | spkac.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 1054 | spkac.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 1055 | spkac.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 796 | spkac.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 1056 | spkac.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 797 | spkac.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 1057 | spkac.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 798 | spkac.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 1058 | spkac.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 799 | spkac.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 1059 | spkac.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 1060 | spkac.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 1061 | spkac.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 800 | spkac.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 1062 | spkac.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 801 | spkac.o: ../include/openssl/sha.h ../include/openssl/stack.h | 1063 | spkac.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 802 | spkac.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 1064 | spkac.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 803 | spkac.o: ../include/openssl/ui.h ../include/openssl/x509.h | 1065 | spkac.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 804 | spkac.o: ../include/openssl/x509_vfy.h apps.h spkac.c | 1066 | spkac.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h spkac.c |
| 805 | verify.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 1067 | verify.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 1068 | verify.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 806 | verify.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 1069 | verify.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 807 | verify.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 1070 | verify.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 808 | verify.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 1071 | verify.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 809 | verify.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 1072 | verify.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 810 | verify.o: ../include/openssl/err.h ../include/openssl/evp.h | 1073 | verify.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 811 | verify.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 1074 | verify.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 1075 | verify.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 1076 | verify.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 1077 | verify.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 1078 | verify.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 812 | verify.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 1079 | verify.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 813 | verify.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 1080 | verify.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 814 | verify.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 1081 | verify.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 815 | verify.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 1082 | verify.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 1083 | verify.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 1084 | verify.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 816 | verify.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 1085 | verify.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 817 | verify.o: ../include/openssl/sha.h ../include/openssl/stack.h | 1086 | verify.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 818 | verify.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 1087 | verify.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 819 | verify.o: ../include/openssl/ui.h ../include/openssl/x509.h | 1088 | verify.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 820 | verify.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h | 1089 | verify.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 821 | verify.o: verify.c | 1090 | verify.o: ../include/openssl/x509v3.h apps.h verify.c |
| 822 | version.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 1091 | version.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 823 | version.o: ../include/openssl/blowfish.h ../include/openssl/bn.h | 1092 | version.o: ../include/openssl/bio.h ../include/openssl/blowfish.h |
| 824 | version.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 1093 | version.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 1094 | version.o: ../include/openssl/cast.h ../include/openssl/conf.h | ||
| 825 | version.o: ../include/openssl/crypto.h ../include/openssl/des.h | 1095 | version.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 826 | version.o: ../include/openssl/des_old.h ../include/openssl/dh.h | 1096 | version.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 827 | version.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h | 1097 | version.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 828 | version.o: ../include/openssl/engine.h ../include/openssl/err.h | 1098 | version.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 829 | version.o: ../include/openssl/evp.h ../include/openssl/idea.h | 1099 | version.o: ../include/openssl/evp.h ../include/openssl/idea.h |
| 830 | version.o: ../include/openssl/lhash.h ../include/openssl/md2.h | 1100 | version.o: ../include/openssl/lhash.h ../include/openssl/md2.h |
| 831 | version.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 1101 | version.o: ../include/openssl/md4.h ../include/openssl/md5.h |
| 832 | version.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 1102 | version.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h |
| 833 | version.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 1103 | version.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 834 | version.o: ../include/openssl/rand.h ../include/openssl/rc4.h | 1104 | version.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 1105 | version.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | ||
| 1106 | version.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 1107 | version.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 835 | version.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 1108 | version.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 836 | version.o: ../include/openssl/sha.h ../include/openssl/stack.h | 1109 | version.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 837 | version.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 1110 | version.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 838 | version.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h | 1111 | version.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 839 | version.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 1112 | version.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h |
| 840 | version.o: version.c | 1113 | version.o: version.c |
| 841 | x509.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 1114 | x509.o: ../e_os.h ../include/openssl/aes.h ../include/openssl/asn1.h |
| 1115 | x509.o: ../include/openssl/bio.h ../include/openssl/blowfish.h | ||
| 842 | x509.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 1116 | x509.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
| 843 | x509.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 1117 | x509.o: ../include/openssl/cast.h ../include/openssl/conf.h |
| 844 | x509.o: ../include/openssl/dh.h ../include/openssl/dsa.h | 1118 | x509.o: ../include/openssl/crypto.h ../include/openssl/des.h |
| 845 | x509.o: ../include/openssl/e_os2.h ../include/openssl/engine.h | 1119 | x509.o: ../include/openssl/des_old.h ../include/openssl/dh.h |
| 846 | x509.o: ../include/openssl/err.h ../include/openssl/evp.h | 1120 | x509.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h |
| 847 | x509.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 1121 | x509.o: ../include/openssl/engine.h ../include/openssl/err.h |
| 1122 | x509.o: ../include/openssl/evp.h ../include/openssl/idea.h | ||
| 1123 | x509.o: ../include/openssl/lhash.h ../include/openssl/md2.h | ||
| 1124 | x509.o: ../include/openssl/md4.h ../include/openssl/md5.h | ||
| 1125 | x509.o: ../include/openssl/mdc2.h ../include/openssl/obj_mac.h | ||
| 848 | x509.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 1126 | x509.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h |
| 849 | x509.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 1127 | x509.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
| 850 | x509.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 1128 | x509.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
| 851 | x509.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 1129 | x509.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
| 1130 | x509.o: ../include/openssl/rc2.h ../include/openssl/rc4.h | ||
| 1131 | x509.o: ../include/openssl/rc5.h ../include/openssl/ripemd.h | ||
| 852 | x509.o: ../include/openssl/rsa.h ../include/openssl/safestack.h | 1132 | x509.o: ../include/openssl/rsa.h ../include/openssl/safestack.h |
| 853 | x509.o: ../include/openssl/sha.h ../include/openssl/stack.h | 1133 | x509.o: ../include/openssl/sha.h ../include/openssl/stack.h |
| 854 | x509.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 1134 | x509.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
| 855 | x509.o: ../include/openssl/ui.h ../include/openssl/x509.h | 1135 | x509.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h |
| 856 | x509.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h x509.c | 1136 | x509.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
| 1137 | x509.o: ../include/openssl/x509v3.h apps.h x509.c | ||
diff --git a/src/lib/libssl/src/apps/apps.c b/src/lib/libssl/src/apps/apps.c index a302119d7f..1a24b1c596 100644 --- a/src/lib/libssl/src/apps/apps.c +++ b/src/lib/libssl/src/apps/apps.c | |||
| @@ -798,7 +798,7 @@ end: | |||
| 798 | return(x); | 798 | return(x); |
| 799 | } | 799 | } |
| 800 | 800 | ||
| 801 | EVP_PKEY *load_key(BIO *err, const char *file, int format, | 801 | EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin, |
| 802 | const char *pass, ENGINE *e, const char *key_descrip) | 802 | const char *pass, ENGINE *e, const char *key_descrip) |
| 803 | { | 803 | { |
| 804 | BIO *key=NULL; | 804 | BIO *key=NULL; |
| @@ -808,7 +808,7 @@ EVP_PKEY *load_key(BIO *err, const char *file, int format, | |||
| 808 | cb_data.password = pass; | 808 | cb_data.password = pass; |
| 809 | cb_data.prompt_info = file; | 809 | cb_data.prompt_info = file; |
| 810 | 810 | ||
| 811 | if (file == NULL) | 811 | if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE)) |
| 812 | { | 812 | { |
| 813 | BIO_printf(err,"no keyfile specified\n"); | 813 | BIO_printf(err,"no keyfile specified\n"); |
| 814 | goto end; | 814 | goto end; |
| @@ -828,12 +828,19 @@ EVP_PKEY *load_key(BIO *err, const char *file, int format, | |||
| 828 | ERR_print_errors(err); | 828 | ERR_print_errors(err); |
| 829 | goto end; | 829 | goto end; |
| 830 | } | 830 | } |
| 831 | if (BIO_read_filename(key,file) <= 0) | 831 | if (file == NULL && maybe_stdin) |
| 832 | { | 832 | { |
| 833 | BIO_printf(err, "Error opening %s %s\n", key_descrip, file); | 833 | setvbuf(stdin, NULL, _IONBF, 0); |
| 834 | ERR_print_errors(err); | 834 | BIO_set_fp(key,stdin,BIO_NOCLOSE); |
| 835 | goto end; | ||
| 836 | } | 835 | } |
| 836 | else | ||
| 837 | if (BIO_read_filename(key,file) <= 0) | ||
| 838 | { | ||
| 839 | BIO_printf(err, "Error opening %s %s\n", | ||
| 840 | key_descrip, file); | ||
| 841 | ERR_print_errors(err); | ||
| 842 | goto end; | ||
| 843 | } | ||
| 837 | if (format == FORMAT_ASN1) | 844 | if (format == FORMAT_ASN1) |
| 838 | { | 845 | { |
| 839 | pkey=d2i_PrivateKey_bio(key, NULL); | 846 | pkey=d2i_PrivateKey_bio(key, NULL); |
| @@ -867,7 +874,7 @@ EVP_PKEY *load_key(BIO *err, const char *file, int format, | |||
| 867 | return(pkey); | 874 | return(pkey); |
| 868 | } | 875 | } |
| 869 | 876 | ||
| 870 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, | 877 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin, |
| 871 | const char *pass, ENGINE *e, const char *key_descrip) | 878 | const char *pass, ENGINE *e, const char *key_descrip) |
| 872 | { | 879 | { |
| 873 | BIO *key=NULL; | 880 | BIO *key=NULL; |
| @@ -877,7 +884,7 @@ EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, | |||
| 877 | cb_data.password = pass; | 884 | cb_data.password = pass; |
| 878 | cb_data.prompt_info = file; | 885 | cb_data.prompt_info = file; |
| 879 | 886 | ||
| 880 | if (file == NULL) | 887 | if (file == NULL && (!maybe_stdin || format == FORMAT_ENGINE)) |
| 881 | { | 888 | { |
| 882 | BIO_printf(err,"no keyfile specified\n"); | 889 | BIO_printf(err,"no keyfile specified\n"); |
| 883 | goto end; | 890 | goto end; |
| @@ -897,11 +904,18 @@ EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, | |||
| 897 | ERR_print_errors(err); | 904 | ERR_print_errors(err); |
| 898 | goto end; | 905 | goto end; |
| 899 | } | 906 | } |
| 900 | if (BIO_read_filename(key,file) <= 0) | 907 | if (file == NULL && maybe_stdin) |
| 901 | { | 908 | { |
| 902 | BIO_printf(err, "Error opening %s %s\n", key_descrip, file); | 909 | setvbuf(stdin, NULL, _IONBF, 0); |
| 903 | ERR_print_errors(err); | 910 | BIO_set_fp(key,stdin,BIO_NOCLOSE); |
| 904 | goto end; | 911 | } |
| 912 | else | ||
| 913 | if (BIO_read_filename(key,file) <= 0) | ||
| 914 | { | ||
| 915 | BIO_printf(err, "Error opening %s %s\n", | ||
| 916 | key_descrip, file); | ||
| 917 | ERR_print_errors(err); | ||
| 918 | goto end; | ||
| 905 | } | 919 | } |
| 906 | if (format == FORMAT_ASN1) | 920 | if (format == FORMAT_ASN1) |
| 907 | { | 921 | { |
| @@ -1074,6 +1088,7 @@ int set_cert_ex(unsigned long *flags, const char *arg) | |||
| 1074 | { "no_extensions", X509_FLAG_NO_EXTENSIONS, 0}, | 1088 | { "no_extensions", X509_FLAG_NO_EXTENSIONS, 0}, |
| 1075 | { "no_sigdump", X509_FLAG_NO_SIGDUMP, 0}, | 1089 | { "no_sigdump", X509_FLAG_NO_SIGDUMP, 0}, |
| 1076 | { "no_aux", X509_FLAG_NO_AUX, 0}, | 1090 | { "no_aux", X509_FLAG_NO_AUX, 0}, |
| 1091 | { "no_attributes", X509_FLAG_NO_ATTRIBUTES, 0}, | ||
| 1077 | { "ext_default", X509V3_EXT_DEFAULT, X509V3_EXT_UNKNOWN_MASK}, | 1092 | { "ext_default", X509V3_EXT_DEFAULT, X509V3_EXT_UNKNOWN_MASK}, |
| 1078 | { "ext_error", X509V3_EXT_ERROR_UNKNOWN, X509V3_EXT_UNKNOWN_MASK}, | 1093 | { "ext_error", X509V3_EXT_ERROR_UNKNOWN, X509V3_EXT_UNKNOWN_MASK}, |
| 1079 | { "ext_parse", X509V3_EXT_PARSE_UNKNOWN, X509V3_EXT_UNKNOWN_MASK}, | 1094 | { "ext_parse", X509V3_EXT_PARSE_UNKNOWN, X509V3_EXT_UNKNOWN_MASK}, |
diff --git a/src/lib/libssl/src/apps/apps.h b/src/lib/libssl/src/apps/apps.h index a88902ac13..32a79605ee 100644 --- a/src/lib/libssl/src/apps/apps.h +++ b/src/lib/libssl/src/apps/apps.h | |||
| @@ -233,9 +233,9 @@ int app_passwd(BIO *err, char *arg1, char *arg2, char **pass1, char **pass2); | |||
| 233 | int add_oid_section(BIO *err, CONF *conf); | 233 | int add_oid_section(BIO *err, CONF *conf); |
| 234 | X509 *load_cert(BIO *err, const char *file, int format, | 234 | X509 *load_cert(BIO *err, const char *file, int format, |
| 235 | const char *pass, ENGINE *e, const char *cert_descrip); | 235 | const char *pass, ENGINE *e, const char *cert_descrip); |
| 236 | EVP_PKEY *load_key(BIO *err, const char *file, int format, | 236 | EVP_PKEY *load_key(BIO *err, const char *file, int format, int maybe_stdin, |
| 237 | const char *pass, ENGINE *e, const char *key_descrip); | 237 | const char *pass, ENGINE *e, const char *key_descrip); |
| 238 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, | 238 | EVP_PKEY *load_pubkey(BIO *err, const char *file, int format, int maybe_stdin, |
| 239 | const char *pass, ENGINE *e, const char *key_descrip); | 239 | const char *pass, ENGINE *e, const char *key_descrip); |
| 240 | STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, | 240 | STACK_OF(X509) *load_certs(BIO *err, const char *file, int format, |
| 241 | const char *pass, ENGINE *e, const char *cert_descrip); | 241 | const char *pass, ENGINE *e, const char *cert_descrip); |
diff --git a/src/lib/libssl/src/apps/ca.c b/src/lib/libssl/src/apps/ca.c index 322956de57..492b64f04f 100644 --- a/src/lib/libssl/src/apps/ca.c +++ b/src/lib/libssl/src/apps/ca.c | |||
| @@ -699,7 +699,7 @@ bad: | |||
| 699 | goto err; | 699 | goto err; |
| 700 | } | 700 | } |
| 701 | } | 701 | } |
| 702 | pkey = load_key(bio_err, keyfile, keyform, key, e, | 702 | pkey = load_key(bio_err, keyfile, keyform, 0, key, e, |
| 703 | "CA private key"); | 703 | "CA private key"); |
| 704 | if (key) memset(key,0,strlen(key)); | 704 | if (key) memset(key,0,strlen(key)); |
| 705 | if (pkey == NULL) | 705 | if (pkey == NULL) |
| @@ -2089,9 +2089,8 @@ again2: | |||
| 2089 | } | 2089 | } |
| 2090 | } | 2090 | } |
| 2091 | 2091 | ||
| 2092 | row[DB_name]=X509_NAME_oneline(dn_subject,NULL,0); | ||
| 2093 | row[DB_serial]=BN_bn2hex(serial); | 2092 | row[DB_serial]=BN_bn2hex(serial); |
| 2094 | if ((row[DB_name] == NULL) || (row[DB_serial] == NULL)) | 2093 | if (row[DB_serial] == NULL) |
| 2095 | { | 2094 | { |
| 2096 | BIO_printf(bio_err,"Memory allocation failure\n"); | 2095 | BIO_printf(bio_err,"Memory allocation failure\n"); |
| 2097 | goto err; | 2096 | goto err; |
| @@ -2304,10 +2303,10 @@ again2: | |||
| 2304 | 2303 | ||
| 2305 | /* row[DB_serial] done already */ | 2304 | /* row[DB_serial] done already */ |
| 2306 | row[DB_file]=(char *)OPENSSL_malloc(8); | 2305 | row[DB_file]=(char *)OPENSSL_malloc(8); |
| 2307 | /* row[DB_name] done already */ | 2306 | row[DB_name]=X509_NAME_oneline(X509_get_subject_name(ret),NULL,0); |
| 2308 | 2307 | ||
| 2309 | if ((row[DB_type] == NULL) || (row[DB_exp_date] == NULL) || | 2308 | if ((row[DB_type] == NULL) || (row[DB_exp_date] == NULL) || |
| 2310 | (row[DB_file] == NULL)) | 2309 | (row[DB_file] == NULL) || (row[DB_name] == NULL)) |
| 2311 | { | 2310 | { |
| 2312 | BIO_printf(bio_err,"Memory allocation failure\n"); | 2311 | BIO_printf(bio_err,"Memory allocation failure\n"); |
| 2313 | goto err; | 2312 | goto err; |
diff --git a/src/lib/libssl/src/apps/dgst.c b/src/lib/libssl/src/apps/dgst.c index e21c3d83ac..32e40c1f53 100644 --- a/src/lib/libssl/src/apps/dgst.c +++ b/src/lib/libssl/src/apps/dgst.c | |||
| @@ -277,10 +277,10 @@ int MAIN(int argc, char **argv) | |||
| 277 | if(keyfile) | 277 | if(keyfile) |
| 278 | { | 278 | { |
| 279 | if (want_pub) | 279 | if (want_pub) |
| 280 | sigkey = load_pubkey(bio_err, keyfile, keyform, NULL, | 280 | sigkey = load_pubkey(bio_err, keyfile, keyform, 0, NULL, |
| 281 | e, "key file"); | 281 | e, "key file"); |
| 282 | else | 282 | else |
| 283 | sigkey = load_key(bio_err, keyfile, keyform, NULL, | 283 | sigkey = load_key(bio_err, keyfile, keyform, 0, NULL, |
| 284 | e, "key file"); | 284 | e, "key file"); |
| 285 | if (!sigkey) | 285 | if (!sigkey) |
| 286 | { | 286 | { |
diff --git a/src/lib/libssl/src/apps/makeapps.com b/src/lib/libssl/src/apps/makeapps.com index 2e666368b7..148246facc 100644 --- a/src/lib/libssl/src/apps/makeapps.com +++ b/src/lib/libssl/src/apps/makeapps.com | |||
| @@ -1086,7 +1086,7 @@ $ CC = CC + "/DEFINE=(" + CCDEFS + ")" + CCDISABLEWARNINGS | |||
| 1086 | $! | 1086 | $! |
| 1087 | $! Show user the result | 1087 | $! Show user the result |
| 1088 | $! | 1088 | $! |
| 1089 | $ WRITE SYS$OUTPUT "Main Compiling Command: ",CC | 1089 | $ WRITE/SYMBOL SYS$OUTPUT "Main Compiling Command: ",CC |
| 1090 | $! | 1090 | $! |
| 1091 | $! Special Threads For OpenVMS v7.1 Or Later | 1091 | $! Special Threads For OpenVMS v7.1 Or Later |
| 1092 | $! | 1092 | $! |
diff --git a/src/lib/libssl/src/apps/ocsp.c b/src/lib/libssl/src/apps/ocsp.c index 49a156a1cf..59b97a634b 100644 --- a/src/lib/libssl/src/apps/ocsp.c +++ b/src/lib/libssl/src/apps/ocsp.c | |||
| @@ -613,11 +613,11 @@ int MAIN(int argc, char **argv) | |||
| 613 | NULL, e, "CA certificate"); | 613 | NULL, e, "CA certificate"); |
| 614 | if (rcertfile) | 614 | if (rcertfile) |
| 615 | { | 615 | { |
| 616 | rother = load_certs(bio_err, sign_certfile, FORMAT_PEM, | 616 | rother = load_certs(bio_err, rcertfile, FORMAT_PEM, |
| 617 | NULL, e, "responder other certificates"); | 617 | NULL, e, "responder other certificates"); |
| 618 | if (!sign_other) goto end; | 618 | if (!rother) goto end; |
| 619 | } | 619 | } |
| 620 | rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, NULL, NULL, | 620 | rkey = load_key(bio_err, rkeyfile, FORMAT_PEM, 0, NULL, NULL, |
| 621 | "responder private key"); | 621 | "responder private key"); |
| 622 | if (!rkey) | 622 | if (!rkey) |
| 623 | goto end; | 623 | goto end; |
| @@ -663,7 +663,7 @@ int MAIN(int argc, char **argv) | |||
| 663 | NULL, e, "signer certificates"); | 663 | NULL, e, "signer certificates"); |
| 664 | if (!sign_other) goto end; | 664 | if (!sign_other) goto end; |
| 665 | } | 665 | } |
| 666 | key = load_key(bio_err, keyfile, FORMAT_PEM, NULL, NULL, | 666 | key = load_key(bio_err, keyfile, FORMAT_PEM, 0, NULL, NULL, |
| 667 | "signer private key"); | 667 | "signer private key"); |
| 668 | if (!key) | 668 | if (!key) |
| 669 | goto end; | 669 | goto end; |
diff --git a/src/lib/libssl/src/apps/pkcs12.c b/src/lib/libssl/src/apps/pkcs12.c index e345cf1489..1697f6157f 100644 --- a/src/lib/libssl/src/apps/pkcs12.c +++ b/src/lib/libssl/src/apps/pkcs12.c | |||
| @@ -427,7 +427,7 @@ int MAIN(int argc, char **argv) | |||
| 427 | CRYPTO_push_info("process -export_cert"); | 427 | CRYPTO_push_info("process -export_cert"); |
| 428 | CRYPTO_push_info("reading private key"); | 428 | CRYPTO_push_info("reading private key"); |
| 429 | #endif | 429 | #endif |
| 430 | key = load_key(bio_err, keyname ? keyname : infile, FORMAT_PEM, | 430 | key = load_key(bio_err, keyname ? keyname : infile, FORMAT_PEM, 1, |
| 431 | passin, e, "private key"); | 431 | passin, e, "private key"); |
| 432 | if (!key) { | 432 | if (!key) { |
| 433 | goto export_end; | 433 | goto export_end; |
| @@ -508,9 +508,10 @@ int MAIN(int argc, char **argv) | |||
| 508 | /* Exclude verified certificate */ | 508 | /* Exclude verified certificate */ |
| 509 | for (i = 1; i < sk_X509_num (chain2) ; i++) | 509 | for (i = 1; i < sk_X509_num (chain2) ; i++) |
| 510 | sk_X509_push(certs, sk_X509_value (chain2, i)); | 510 | sk_X509_push(certs, sk_X509_value (chain2, i)); |
| 511 | } | 511 | /* Free first certificate */ |
| 512 | sk_X509_free(chain2); | 512 | X509_free(sk_X509_value(chain2, 0)); |
| 513 | if (vret) { | 513 | sk_X509_free(chain2); |
| 514 | } else { | ||
| 514 | BIO_printf (bio_err, "Error %s getting chain.\n", | 515 | BIO_printf (bio_err, "Error %s getting chain.\n", |
| 515 | X509_verify_cert_error_string(vret)); | 516 | X509_verify_cert_error_string(vret)); |
| 516 | goto export_end; | 517 | goto export_end; |
| @@ -537,8 +538,6 @@ int MAIN(int argc, char **argv) | |||
| 537 | } | 538 | } |
| 538 | sk_X509_pop_free(certs, X509_free); | 539 | sk_X509_pop_free(certs, X509_free); |
| 539 | certs = NULL; | 540 | certs = NULL; |
| 540 | /* ucert is part of certs so it is already freed */ | ||
| 541 | ucert = NULL; | ||
| 542 | 541 | ||
| 543 | #ifdef CRYPTO_MDEBUG | 542 | #ifdef CRYPTO_MDEBUG |
| 544 | CRYPTO_pop_info(); | 543 | CRYPTO_pop_info(); |
| @@ -627,7 +626,6 @@ int MAIN(int argc, char **argv) | |||
| 627 | if (certs) sk_X509_pop_free(certs, X509_free); | 626 | if (certs) sk_X509_pop_free(certs, X509_free); |
| 628 | if (safes) sk_PKCS7_pop_free(safes, PKCS7_free); | 627 | if (safes) sk_PKCS7_pop_free(safes, PKCS7_free); |
| 629 | if (bags) sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); | 628 | if (bags) sk_PKCS12_SAFEBAG_pop_free(bags, PKCS12_SAFEBAG_free); |
| 630 | if (ucert) X509_free(ucert); | ||
| 631 | 629 | ||
| 632 | #ifdef CRYPTO_MDEBUG | 630 | #ifdef CRYPTO_MDEBUG |
| 633 | CRYPTO_pop_info(); | 631 | CRYPTO_pop_info(); |
diff --git a/src/lib/libssl/src/apps/pkcs8.c b/src/lib/libssl/src/apps/pkcs8.c index ba91caee6b..912e32006b 100644 --- a/src/lib/libssl/src/apps/pkcs8.c +++ b/src/lib/libssl/src/apps/pkcs8.c | |||
| @@ -222,7 +222,8 @@ int MAIN(int argc, char **argv) | |||
| 222 | if (topk8) | 222 | if (topk8) |
| 223 | { | 223 | { |
| 224 | BIO_free(in); /* Not needed in this section */ | 224 | BIO_free(in); /* Not needed in this section */ |
| 225 | pkey = load_key(bio_err, infile, informat, passin, e, "key"); | 225 | pkey = load_key(bio_err, infile, informat, 1, |
| 226 | passin, e, "key"); | ||
| 226 | if (!pkey) { | 227 | if (!pkey) { |
| 227 | return (1); | 228 | return (1); |
| 228 | } | 229 | } |
diff --git a/src/lib/libssl/src/apps/req.c b/src/lib/libssl/src/apps/req.c index 5631a3839b..a3c1e0b4c4 100644 --- a/src/lib/libssl/src/apps/req.c +++ b/src/lib/libssl/src/apps/req.c | |||
| @@ -151,7 +151,7 @@ int MAIN(int argc, char **argv) | |||
| 151 | #ifndef OPENSSL_NO_DSA | 151 | #ifndef OPENSSL_NO_DSA |
| 152 | DSA *dsa_params=NULL; | 152 | DSA *dsa_params=NULL; |
| 153 | #endif | 153 | #endif |
| 154 | unsigned long nmflag = 0; | 154 | unsigned long nmflag = 0, reqflag = 0; |
| 155 | int ex=1,x509=0,days=30; | 155 | int ex=1,x509=0,days=30; |
| 156 | X509 *x509ss=NULL; | 156 | X509 *x509ss=NULL; |
| 157 | X509_REQ *req=NULL; | 157 | X509_REQ *req=NULL; |
| @@ -356,6 +356,11 @@ int MAIN(int argc, char **argv) | |||
| 356 | if (--argc < 1) goto bad; | 356 | if (--argc < 1) goto bad; |
| 357 | if (!set_name_ex(&nmflag, *(++argv))) goto bad; | 357 | if (!set_name_ex(&nmflag, *(++argv))) goto bad; |
| 358 | } | 358 | } |
| 359 | else if (strcmp(*argv,"-reqopt") == 0) | ||
| 360 | { | ||
| 361 | if (--argc < 1) goto bad; | ||
| 362 | if (!set_cert_ex(&reqflag, *(++argv))) goto bad; | ||
| 363 | } | ||
| 359 | else if (strcmp(*argv,"-subject") == 0) | 364 | else if (strcmp(*argv,"-subject") == 0) |
| 360 | subject=1; | 365 | subject=1; |
| 361 | else if (strcmp(*argv,"-text") == 0) | 366 | else if (strcmp(*argv,"-text") == 0) |
| @@ -448,7 +453,8 @@ bad: | |||
| 448 | BIO_printf(bio_err," -extensions .. specify certificate extension section (override value in config file)\n"); | 453 | BIO_printf(bio_err," -extensions .. specify certificate extension section (override value in config file)\n"); |
| 449 | BIO_printf(bio_err," -reqexts .. specify request extension section (override value in config file)\n"); | 454 | BIO_printf(bio_err," -reqexts .. specify request extension section (override value in config file)\n"); |
| 450 | BIO_printf(bio_err," -utf8 input characters are UTF8 (default ASCII)\n"); | 455 | BIO_printf(bio_err," -utf8 input characters are UTF8 (default ASCII)\n"); |
| 451 | BIO_printf(bio_err," -nameopt arg - various certificate name options\n"); | 456 | BIO_printf(bio_err," -nameopt arg - various certificate name options\n"); |
| 457 | BIO_printf(bio_err," -reqopt arg - various request text options\n\n"); | ||
| 452 | goto end; | 458 | goto end; |
| 453 | } | 459 | } |
| 454 | 460 | ||
| @@ -622,7 +628,7 @@ bad: | |||
| 622 | 628 | ||
| 623 | if (keyfile != NULL) | 629 | if (keyfile != NULL) |
| 624 | { | 630 | { |
| 625 | pkey = load_key(bio_err, keyfile, keyform, passin, e, | 631 | pkey = load_key(bio_err, keyfile, keyform, 0, passin, e, |
| 626 | "Private Key"); | 632 | "Private Key"); |
| 627 | if (!pkey) | 633 | if (!pkey) |
| 628 | { | 634 | { |
| @@ -981,9 +987,9 @@ loop: | |||
| 981 | if (text) | 987 | if (text) |
| 982 | { | 988 | { |
| 983 | if (x509) | 989 | if (x509) |
| 984 | X509_print(out,x509ss); | 990 | X509_print_ex(out, x509ss, nmflag, reqflag); |
| 985 | else | 991 | else |
| 986 | X509_REQ_print(out,req); | 992 | X509_REQ_print_ex(out, req, nmflag, reqflag); |
| 987 | } | 993 | } |
| 988 | 994 | ||
| 989 | if(subject) | 995 | if(subject) |
diff --git a/src/lib/libssl/src/apps/rsa.c b/src/lib/libssl/src/apps/rsa.c index 60a3381527..4e19bc16fb 100644 --- a/src/lib/libssl/src/apps/rsa.c +++ b/src/lib/libssl/src/apps/rsa.c | |||
| @@ -238,12 +238,12 @@ bad: | |||
| 238 | if (pubin) | 238 | if (pubin) |
| 239 | pkey = load_pubkey(bio_err, infile, | 239 | pkey = load_pubkey(bio_err, infile, |
| 240 | (informat == FORMAT_NETSCAPE && sgckey ? | 240 | (informat == FORMAT_NETSCAPE && sgckey ? |
| 241 | FORMAT_IISSGC : informat), | 241 | FORMAT_IISSGC : informat), 1, |
| 242 | passin, e, "Public Key"); | 242 | passin, e, "Public Key"); |
| 243 | else | 243 | else |
| 244 | pkey = load_key(bio_err, infile, | 244 | pkey = load_key(bio_err, infile, |
| 245 | (informat == FORMAT_NETSCAPE && sgckey ? | 245 | (informat == FORMAT_NETSCAPE && sgckey ? |
| 246 | FORMAT_IISSGC : informat), | 246 | FORMAT_IISSGC : informat), 1, |
| 247 | passin, e, "Private Key"); | 247 | passin, e, "Private Key"); |
| 248 | 248 | ||
| 249 | if (pkey != NULL) | 249 | if (pkey != NULL) |
diff --git a/src/lib/libssl/src/apps/rsautl.c b/src/lib/libssl/src/apps/rsautl.c index 9b02e6782e..36957e5b84 100644 --- a/src/lib/libssl/src/apps/rsautl.c +++ b/src/lib/libssl/src/apps/rsautl.c | |||
| @@ -169,12 +169,12 @@ int MAIN(int argc, char **argv) | |||
| 169 | 169 | ||
| 170 | switch(key_type) { | 170 | switch(key_type) { |
| 171 | case KEY_PRIVKEY: | 171 | case KEY_PRIVKEY: |
| 172 | pkey = load_key(bio_err, keyfile, keyform, | 172 | pkey = load_key(bio_err, keyfile, keyform, 0, |
| 173 | NULL, e, "Private Key"); | 173 | NULL, e, "Private Key"); |
| 174 | break; | 174 | break; |
| 175 | 175 | ||
| 176 | case KEY_PUBKEY: | 176 | case KEY_PUBKEY: |
| 177 | pkey = load_pubkey(bio_err, keyfile, keyform, | 177 | pkey = load_pubkey(bio_err, keyfile, keyform, 0, |
| 178 | NULL, e, "Public Key"); | 178 | NULL, e, "Public Key"); |
| 179 | break; | 179 | break; |
| 180 | 180 | ||
diff --git a/src/lib/libssl/src/apps/s_server.c b/src/lib/libssl/src/apps/s_server.c index 497abf44ef..b03231f3ba 100644 --- a/src/lib/libssl/src/apps/s_server.c +++ b/src/lib/libssl/src/apps/s_server.c | |||
| @@ -320,10 +320,10 @@ static char **local_argv; | |||
| 320 | static int ebcdic_new(BIO *bi); | 320 | static int ebcdic_new(BIO *bi); |
| 321 | static int ebcdic_free(BIO *a); | 321 | static int ebcdic_free(BIO *a); |
| 322 | static int ebcdic_read(BIO *b, char *out, int outl); | 322 | static int ebcdic_read(BIO *b, char *out, int outl); |
| 323 | static int ebcdic_write(BIO *b, char *in, int inl); | 323 | static int ebcdic_write(BIO *b, const char *in, int inl); |
| 324 | static long ebcdic_ctrl(BIO *b, int cmd, long num, char *ptr); | 324 | static long ebcdic_ctrl(BIO *b, int cmd, long num, void *ptr); |
| 325 | static int ebcdic_gets(BIO *bp, char *buf, int size); | 325 | static int ebcdic_gets(BIO *bp, char *buf, int size); |
| 326 | static int ebcdic_puts(BIO *bp, char *str); | 326 | static int ebcdic_puts(BIO *bp, const char *str); |
| 327 | 327 | ||
| 328 | #define BIO_TYPE_EBCDIC_FILTER (18|0x0200) | 328 | #define BIO_TYPE_EBCDIC_FILTER (18|0x0200) |
| 329 | static BIO_METHOD methods_ebcdic= | 329 | static BIO_METHOD methods_ebcdic= |
| @@ -388,7 +388,7 @@ static int ebcdic_read(BIO *b, char *out, int outl) | |||
| 388 | return(ret); | 388 | return(ret); |
| 389 | } | 389 | } |
| 390 | 390 | ||
| 391 | static int ebcdic_write(BIO *b, char *in, int inl) | 391 | static int ebcdic_write(BIO *b, const char *in, int inl) |
| 392 | { | 392 | { |
| 393 | EBCDIC_OUTBUFF *wbuf; | 393 | EBCDIC_OUTBUFF *wbuf; |
| 394 | int ret=0; | 394 | int ret=0; |
| @@ -421,7 +421,7 @@ static int ebcdic_write(BIO *b, char *in, int inl) | |||
| 421 | return(ret); | 421 | return(ret); |
| 422 | } | 422 | } |
| 423 | 423 | ||
| 424 | static long ebcdic_ctrl(BIO *b, int cmd, long num, char *ptr) | 424 | static long ebcdic_ctrl(BIO *b, int cmd, long num, void *ptr) |
| 425 | { | 425 | { |
| 426 | long ret; | 426 | long ret; |
| 427 | 427 | ||
| @@ -440,7 +440,7 @@ static long ebcdic_ctrl(BIO *b, int cmd, long num, char *ptr) | |||
| 440 | 440 | ||
| 441 | static int ebcdic_gets(BIO *bp, char *buf, int size) | 441 | static int ebcdic_gets(BIO *bp, char *buf, int size) |
| 442 | { | 442 | { |
| 443 | int i, ret; | 443 | int i, ret=0; |
| 444 | if (bp->next_bio == NULL) return(0); | 444 | if (bp->next_bio == NULL) return(0); |
| 445 | /* return(BIO_gets(bp->next_bio,buf,size));*/ | 445 | /* return(BIO_gets(bp->next_bio,buf,size));*/ |
| 446 | for (i=0; i<size-1; ++i) | 446 | for (i=0; i<size-1; ++i) |
| @@ -459,7 +459,7 @@ static int ebcdic_gets(BIO *bp, char *buf, int size) | |||
| 459 | return (ret < 0 && i == 0) ? ret : i; | 459 | return (ret < 0 && i == 0) ? ret : i; |
| 460 | } | 460 | } |
| 461 | 461 | ||
| 462 | static int ebcdic_puts(BIO *bp, char *str) | 462 | static int ebcdic_puts(BIO *bp, const char *str) |
| 463 | { | 463 | { |
| 464 | if (bp->next_bio == NULL) return(0); | 464 | if (bp->next_bio == NULL) return(0); |
| 465 | return ebcdic_write(bp, str, strlen(str)); | 465 | return ebcdic_write(bp, str, strlen(str)); |
diff --git a/src/lib/libssl/src/apps/smime.c b/src/lib/libssl/src/apps/smime.c index 90fe026f56..ef0e477464 100644 --- a/src/lib/libssl/src/apps/smime.c +++ b/src/lib/libssl/src/apps/smime.c | |||
| @@ -428,7 +428,7 @@ int MAIN(int argc, char **argv) | |||
| 428 | } else keyfile = NULL; | 428 | } else keyfile = NULL; |
| 429 | 429 | ||
| 430 | if(keyfile) { | 430 | if(keyfile) { |
| 431 | key = load_key(bio_err, keyfile, keyform, passin, e, | 431 | key = load_key(bio_err, keyfile, keyform, 0, passin, e, |
| 432 | "signing key file"); | 432 | "signing key file"); |
| 433 | if (!key) { | 433 | if (!key) { |
| 434 | goto end; | 434 | goto end; |
diff --git a/src/lib/libssl/src/apps/spkac.c b/src/lib/libssl/src/apps/spkac.c index 049a37963c..4ce53e36c9 100644 --- a/src/lib/libssl/src/apps/spkac.c +++ b/src/lib/libssl/src/apps/spkac.c | |||
| @@ -186,7 +186,7 @@ bad: | |||
| 186 | if(keyfile) { | 186 | if(keyfile) { |
| 187 | pkey = load_key(bio_err, | 187 | pkey = load_key(bio_err, |
| 188 | strcmp(keyfile, "-") ? keyfile : NULL, | 188 | strcmp(keyfile, "-") ? keyfile : NULL, |
| 189 | FORMAT_PEM, passin, e, "private key"); | 189 | FORMAT_PEM, 1, passin, e, "private key"); |
| 190 | if(!pkey) { | 190 | if(!pkey) { |
| 191 | goto end; | 191 | goto end; |
| 192 | } | 192 | } |
diff --git a/src/lib/libssl/src/apps/x509.c b/src/lib/libssl/src/apps/x509.c index a797da0ffa..5a41c389ee 100644 --- a/src/lib/libssl/src/apps/x509.c +++ b/src/lib/libssl/src/apps/x509.c | |||
| @@ -861,8 +861,8 @@ bad: | |||
| 861 | if (Upkey == NULL) | 861 | if (Upkey == NULL) |
| 862 | { | 862 | { |
| 863 | Upkey=load_key(bio_err, | 863 | Upkey=load_key(bio_err, |
| 864 | keyfile,keyformat, passin, e, | 864 | keyfile, keyformat, 0, |
| 865 | "Private key"); | 865 | passin, e, "Private key"); |
| 866 | if (Upkey == NULL) goto end; | 866 | if (Upkey == NULL) goto end; |
| 867 | } | 867 | } |
| 868 | #ifndef OPENSSL_NO_DSA | 868 | #ifndef OPENSSL_NO_DSA |
| @@ -880,8 +880,9 @@ bad: | |||
| 880 | if (CAkeyfile != NULL) | 880 | if (CAkeyfile != NULL) |
| 881 | { | 881 | { |
| 882 | CApkey=load_key(bio_err, | 882 | CApkey=load_key(bio_err, |
| 883 | CAkeyfile,CAkeyformat, passin, | 883 | CAkeyfile, CAkeyformat, |
| 884 | e, "CA Private Key"); | 884 | 0, passin, e, |
| 885 | "CA Private Key"); | ||
| 885 | if (CApkey == NULL) goto end; | 886 | if (CApkey == NULL) goto end; |
| 886 | } | 887 | } |
| 887 | #ifndef OPENSSL_NO_DSA | 888 | #ifndef OPENSSL_NO_DSA |
| @@ -908,8 +909,8 @@ bad: | |||
| 908 | else | 909 | else |
| 909 | { | 910 | { |
| 910 | pk=load_key(bio_err, | 911 | pk=load_key(bio_err, |
| 911 | keyfile,FORMAT_PEM, passin, e, | 912 | keyfile, FORMAT_PEM, 0, |
| 912 | "request key"); | 913 | passin, e, "request key"); |
| 913 | if (pk == NULL) goto end; | 914 | if (pk == NULL) goto end; |
| 914 | } | 915 | } |
| 915 | 916 | ||
diff --git a/src/lib/libssl/src/config b/src/lib/libssl/src/config index 972cdb70a3..3e9af7680a 100644 --- a/src/lib/libssl/src/config +++ b/src/lib/libssl/src/config | |||
| @@ -393,6 +393,9 @@ exit 0 | |||
| 393 | GCCVER=`(gcc -dumpversion) 2>/dev/null` | 393 | GCCVER=`(gcc -dumpversion) 2>/dev/null` |
| 394 | if [ "$GCCVER" != "" ]; then | 394 | if [ "$GCCVER" != "" ]; then |
| 395 | CC=gcc | 395 | CC=gcc |
| 396 | # then strip off whatever prefix egcs prepends the number with... | ||
| 397 | # Hopefully, this will work for any future prefixes as well. | ||
| 398 | GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'` | ||
| 396 | # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion | 399 | # Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion |
| 397 | # does give us what we want though, so we use that. We just just the | 400 | # does give us what we want though, so we use that. We just just the |
| 398 | # major and minor version numbers. | 401 | # major and minor version numbers. |
diff --git a/src/lib/libssl/src/crypto/Makefile.ssl b/src/lib/libssl/src/crypto/Makefile.ssl index 2489b614c6..db8baf385e 100644 --- a/src/lib/libssl/src/crypto/Makefile.ssl +++ b/src/lib/libssl/src/crypto/Makefile.ssl | |||
| @@ -98,7 +98,7 @@ lib: $(LIBOBJ) | |||
| 98 | 98 | ||
| 99 | shared: | 99 | shared: |
| 100 | if [ -n "$(SHARED_LIBS)" ]; then \ | 100 | if [ -n "$(SHARED_LIBS)" ]; then \ |
| 101 | (cd ..; make $(SHARED_LIB)); \ | 101 | (cd ..; $(MAKE) $(SHARED_LIB)); \ |
| 102 | fi | 102 | fi |
| 103 | 103 | ||
| 104 | libs: | 104 | libs: |
diff --git a/src/lib/libssl/src/crypto/asn1/a_bitstr.c b/src/lib/libssl/src/crypto/asn1/a_bitstr.c index ed0bdfbde1..e0265f69d2 100644 --- a/src/lib/libssl/src/crypto/asn1/a_bitstr.c +++ b/src/lib/libssl/src/crypto/asn1/a_bitstr.c | |||
| @@ -120,6 +120,12 @@ ASN1_BIT_STRING *c2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a, unsigned char **pp, | |||
| 120 | unsigned char *p,*s; | 120 | unsigned char *p,*s; |
| 121 | int i; | 121 | int i; |
| 122 | 122 | ||
| 123 | if (len < 1) | ||
| 124 | { | ||
| 125 | i=ASN1_R_STRING_TOO_SHORT; | ||
| 126 | goto err; | ||
| 127 | } | ||
| 128 | |||
| 123 | if ((a == NULL) || ((*a) == NULL)) | 129 | if ((a == NULL) || ((*a) == NULL)) |
| 124 | { | 130 | { |
| 125 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); | 131 | if ((ret=M_ASN1_BIT_STRING_new()) == NULL) return(NULL); |
diff --git a/src/lib/libssl/src/crypto/asn1/a_strex.c b/src/lib/libssl/src/crypto/asn1/a_strex.c index 8dab29dca1..7ddb7662f1 100644 --- a/src/lib/libssl/src/crypto/asn1/a_strex.c +++ b/src/lib/libssl/src/crypto/asn1/a_strex.c | |||
| @@ -544,7 +544,7 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) | |||
| 544 | { | 544 | { |
| 545 | ASN1_STRING stmp, *str = &stmp; | 545 | ASN1_STRING stmp, *str = &stmp; |
| 546 | int mbflag, type, ret; | 546 | int mbflag, type, ret; |
| 547 | if(!*out || !in) return -1; | 547 | if(!in) return -1; |
| 548 | type = in->type; | 548 | type = in->type; |
| 549 | if((type < 0) || (type > 30)) return -1; | 549 | if((type < 0) || (type > 30)) return -1; |
| 550 | mbflag = tag2nbyte[type]; | 550 | mbflag = tag2nbyte[type]; |
| @@ -553,6 +553,6 @@ int ASN1_STRING_to_UTF8(unsigned char **out, ASN1_STRING *in) | |||
| 553 | stmp.data = NULL; | 553 | stmp.data = NULL; |
| 554 | ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING); | 554 | ret = ASN1_mbstring_copy(&str, in->data, in->length, mbflag, B_ASN1_UTF8STRING); |
| 555 | if(ret < 0) return ret; | 555 | if(ret < 0) return ret; |
| 556 | if(out) *out = stmp.data; | 556 | *out = stmp.data; |
| 557 | return stmp.length; | 557 | return stmp.length; |
| 558 | } | 558 | } |
diff --git a/src/lib/libssl/src/crypto/asn1/t_req.c b/src/lib/libssl/src/crypto/asn1/t_req.c index 848c29a2dd..739f272ecf 100644 --- a/src/lib/libssl/src/crypto/asn1/t_req.c +++ b/src/lib/libssl/src/crypto/asn1/t_req.c | |||
| @@ -82,7 +82,7 @@ int X509_REQ_print_fp(FILE *fp, X509_REQ *x) | |||
| 82 | } | 82 | } |
| 83 | #endif | 83 | #endif |
| 84 | 84 | ||
| 85 | int X509_REQ_print(BIO *bp, X509_REQ *x) | 85 | int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, unsigned long cflag) |
| 86 | { | 86 | { |
| 87 | unsigned long l; | 87 | unsigned long l; |
| 88 | int i; | 88 | int i; |
| @@ -92,143 +92,185 @@ int X509_REQ_print(BIO *bp, X509_REQ *x) | |||
| 92 | STACK_OF(X509_ATTRIBUTE) *sk; | 92 | STACK_OF(X509_ATTRIBUTE) *sk; |
| 93 | STACK_OF(X509_EXTENSION) *exts; | 93 | STACK_OF(X509_EXTENSION) *exts; |
| 94 | char str[128]; | 94 | char str[128]; |
| 95 | char mlch = ' '; | ||
| 96 | int nmindent = 0; | ||
| 97 | |||
| 98 | if((nmflags & XN_FLAG_SEP_MASK) == XN_FLAG_SEP_MULTILINE) { | ||
| 99 | mlch = '\n'; | ||
| 100 | nmindent = 12; | ||
| 101 | } | ||
| 102 | |||
| 103 | if(nmflags == X509_FLAG_COMPAT) | ||
| 104 | nmindent = 16; | ||
| 105 | |||
| 95 | 106 | ||
| 96 | ri=x->req_info; | 107 | ri=x->req_info; |
| 97 | sprintf(str,"Certificate Request:\n"); | 108 | if(!(cflag & X509_FLAG_NO_HEADER)) |
| 98 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 99 | sprintf(str,"%4sData:\n",""); | ||
| 100 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 101 | |||
| 102 | neg=(ri->version->type == V_ASN1_NEG_INTEGER)?"-":""; | ||
| 103 | l=0; | ||
| 104 | for (i=0; i<ri->version->length; i++) | ||
| 105 | { l<<=8; l+=ri->version->data[i]; } | ||
| 106 | sprintf(str,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg,l); | ||
| 107 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 108 | sprintf(str,"%8sSubject: ",""); | ||
| 109 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 110 | |||
| 111 | X509_NAME_print(bp,ri->subject,16); | ||
| 112 | sprintf(str,"\n%8sSubject Public Key Info:\n",""); | ||
| 113 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 114 | i=OBJ_obj2nid(ri->pubkey->algor->algorithm); | ||
| 115 | sprintf(str,"%12sPublic Key Algorithm: %s\n","", | ||
| 116 | (i == NID_undef)?"UNKNOWN":OBJ_nid2ln(i)); | ||
| 117 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 118 | |||
| 119 | pkey=X509_REQ_get_pubkey(x); | ||
| 120 | #ifndef OPENSSL_NO_RSA | ||
| 121 | if (pkey != NULL && pkey->type == EVP_PKEY_RSA) | ||
| 122 | { | 109 | { |
| 123 | BIO_printf(bp,"%12sRSA Public Key: (%d bit)\n","", | 110 | if (BIO_write(bp,"Certificate Request:\n",21) <= 0) goto err; |
| 124 | BN_num_bits(pkey->pkey.rsa->n)); | 111 | if (BIO_write(bp," Data:\n",10) <= 0) goto err; |
| 125 | RSA_print(bp,pkey->pkey.rsa,16); | ||
| 126 | } | 112 | } |
| 127 | else | 113 | if(!(cflag & X509_FLAG_NO_VERSION)) |
| 128 | #endif | ||
| 129 | #ifndef OPENSSL_NO_DSA | ||
| 130 | if (pkey != NULL && pkey->type == EVP_PKEY_DSA) | ||
| 131 | { | 114 | { |
| 132 | BIO_printf(bp,"%12sDSA Public Key:\n",""); | 115 | neg=(ri->version->type == V_ASN1_NEG_INTEGER)?"-":""; |
| 133 | DSA_print(bp,pkey->pkey.dsa,16); | 116 | l=0; |
| 117 | for (i=0; i<ri->version->length; i++) | ||
| 118 | { l<<=8; l+=ri->version->data[i]; } | ||
| 119 | sprintf(str,"%8sVersion: %s%lu (%s0x%lx)\n","",neg,l,neg,l); | ||
| 120 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 134 | } | 121 | } |
| 135 | else | 122 | if(!(cflag & X509_FLAG_NO_SUBJECT)) |
| 136 | #endif | 123 | { |
| 137 | BIO_printf(bp,"%12sUnknown Public Key:\n",""); | 124 | if (BIO_printf(bp," Subject:%c",mlch) <= 0) goto err; |
| 125 | if (X509_NAME_print_ex(bp,ri->subject,nmindent, nmflags) < 0) goto err; | ||
| 126 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 127 | } | ||
| 128 | if(!(cflag & X509_FLAG_NO_PUBKEY)) | ||
| 129 | { | ||
| 130 | if (BIO_write(bp," Subject Public Key Info:\n",33) <= 0) | ||
| 131 | goto err; | ||
| 132 | if (BIO_printf(bp,"%12sPublic Key Algorithm: ","") <= 0) | ||
| 133 | goto err; | ||
| 134 | if (i2a_ASN1_OBJECT(bp, ri->pubkey->algor->algorithm) <= 0) | ||
| 135 | goto err; | ||
| 136 | if (BIO_puts(bp, "\n") <= 0) | ||
| 137 | goto err; | ||
| 138 | 138 | ||
| 139 | if (pkey != NULL) | 139 | pkey=X509_REQ_get_pubkey(x); |
| 140 | EVP_PKEY_free(pkey); | 140 | if (pkey == NULL) |
| 141 | { | ||
| 142 | BIO_printf(bp,"%12sUnable to load Public Key\n",""); | ||
| 143 | ERR_print_errors(bp); | ||
| 144 | } | ||
| 145 | else | ||
| 146 | #ifndef OPENSSL_NO_RSA | ||
| 147 | if (pkey->type == EVP_PKEY_RSA) | ||
| 148 | { | ||
| 149 | BIO_printf(bp,"%12sRSA Public Key: (%d bit)\n","", | ||
| 150 | BN_num_bits(pkey->pkey.rsa->n)); | ||
| 151 | RSA_print(bp,pkey->pkey.rsa,16); | ||
| 152 | } | ||
| 153 | else | ||
| 154 | #endif | ||
| 155 | #ifndef OPENSSL_NO_DSA | ||
| 156 | if (pkey->type == EVP_PKEY_DSA) | ||
| 157 | { | ||
| 158 | BIO_printf(bp,"%12sDSA Public Key:\n",""); | ||
| 159 | DSA_print(bp,pkey->pkey.dsa,16); | ||
| 160 | } | ||
| 161 | else | ||
| 162 | #endif | ||
| 163 | BIO_printf(bp,"%12sUnknown Public Key:\n",""); | ||
| 141 | 164 | ||
| 142 | /* may not be */ | 165 | EVP_PKEY_free(pkey); |
| 143 | sprintf(str,"%8sAttributes:\n",""); | 166 | } |
| 144 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 145 | 167 | ||
| 146 | sk=x->req_info->attributes; | 168 | if(!(cflag & X509_FLAG_NO_ATTRIBUTES)) |
| 147 | if (sk_X509_ATTRIBUTE_num(sk) == 0) | ||
| 148 | { | 169 | { |
| 149 | sprintf(str,"%12sa0:00\n",""); | 170 | /* may not be */ |
| 171 | sprintf(str,"%8sAttributes:\n",""); | ||
| 150 | if (BIO_puts(bp,str) <= 0) goto err; | 172 | if (BIO_puts(bp,str) <= 0) goto err; |
| 151 | } | 173 | |
| 152 | else | 174 | sk=x->req_info->attributes; |
| 153 | { | 175 | if (sk_X509_ATTRIBUTE_num(sk) == 0) |
| 154 | for (i=0; i<sk_X509_ATTRIBUTE_num(sk); i++) | ||
| 155 | { | 176 | { |
| 156 | ASN1_TYPE *at; | 177 | sprintf(str,"%12sa0:00\n",""); |
| 157 | X509_ATTRIBUTE *a; | ||
| 158 | ASN1_BIT_STRING *bs=NULL; | ||
| 159 | ASN1_TYPE *t; | ||
| 160 | int j,type=0,count=1,ii=0; | ||
| 161 | |||
| 162 | a=sk_X509_ATTRIBUTE_value(sk,i); | ||
| 163 | if(X509_REQ_extension_nid(OBJ_obj2nid(a->object))) | ||
| 164 | continue; | ||
| 165 | sprintf(str,"%12s",""); | ||
| 166 | if (BIO_puts(bp,str) <= 0) goto err; | 178 | if (BIO_puts(bp,str) <= 0) goto err; |
| 167 | if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0) | 179 | } |
| 180 | else | ||
| 168 | { | 181 | { |
| 169 | if (a->single) | 182 | for (i=0; i<sk_X509_ATTRIBUTE_num(sk); i++) |
| 170 | { | 183 | { |
| 171 | t=a->value.single; | 184 | ASN1_TYPE *at; |
| 172 | type=t->type; | 185 | X509_ATTRIBUTE *a; |
| 173 | bs=t->value.bit_string; | 186 | ASN1_BIT_STRING *bs=NULL; |
| 174 | } | 187 | ASN1_TYPE *t; |
| 175 | else | 188 | int j,type=0,count=1,ii=0; |
| 189 | |||
| 190 | a=sk_X509_ATTRIBUTE_value(sk,i); | ||
| 191 | if(X509_REQ_extension_nid(OBJ_obj2nid(a->object))) | ||
| 192 | continue; | ||
| 193 | sprintf(str,"%12s",""); | ||
| 194 | if (BIO_puts(bp,str) <= 0) goto err; | ||
| 195 | if ((j=i2a_ASN1_OBJECT(bp,a->object)) > 0) | ||
| 176 | { | 196 | { |
| 177 | ii=0; | 197 | if (a->single) |
| 178 | count=sk_ASN1_TYPE_num(a->value.set); | 198 | { |
| 199 | t=a->value.single; | ||
| 200 | type=t->type; | ||
| 201 | bs=t->value.bit_string; | ||
| 202 | } | ||
| 203 | else | ||
| 204 | { | ||
| 205 | ii=0; | ||
| 206 | count=sk_ASN1_TYPE_num(a->value.set); | ||
| 179 | get_next: | 207 | get_next: |
| 180 | at=sk_ASN1_TYPE_value(a->value.set,ii); | 208 | at=sk_ASN1_TYPE_value(a->value.set,ii); |
| 181 | type=at->type; | 209 | type=at->type; |
| 182 | bs=at->value.asn1_string; | 210 | bs=at->value.asn1_string; |
| 211 | } | ||
| 212 | } | ||
| 213 | for (j=25-j; j>0; j--) | ||
| 214 | if (BIO_write(bp," ",1) != 1) goto err; | ||
| 215 | if (BIO_puts(bp,":") <= 0) goto err; | ||
| 216 | if ( (type == V_ASN1_PRINTABLESTRING) || | ||
| 217 | (type == V_ASN1_T61STRING) || | ||
| 218 | (type == V_ASN1_IA5STRING)) | ||
| 219 | { | ||
| 220 | if (BIO_write(bp,(char *)bs->data,bs->length) | ||
| 221 | != bs->length) | ||
| 222 | goto err; | ||
| 223 | BIO_puts(bp,"\n"); | ||
| 224 | } | ||
| 225 | else | ||
| 226 | { | ||
| 227 | BIO_puts(bp,"unable to print attribute\n"); | ||
| 228 | } | ||
| 229 | if (++ii < count) goto get_next; | ||
| 183 | } | 230 | } |
| 184 | } | 231 | } |
| 185 | for (j=25-j; j>0; j--) | 232 | } |
| 186 | if (BIO_write(bp," ",1) != 1) goto err; | 233 | if(!(cflag & X509_FLAG_NO_ATTRIBUTES)) |
| 187 | if (BIO_puts(bp,":") <= 0) goto err; | 234 | { |
| 188 | if ( (type == V_ASN1_PRINTABLESTRING) || | 235 | exts = X509_REQ_get_extensions(x); |
| 189 | (type == V_ASN1_T61STRING) || | 236 | if(exts) |
| 190 | (type == V_ASN1_IA5STRING)) | 237 | { |
| 238 | BIO_printf(bp,"%8sRequested Extensions:\n",""); | ||
| 239 | for (i=0; i<sk_X509_EXTENSION_num(exts); i++) | ||
| 191 | { | 240 | { |
| 192 | if (BIO_write(bp,(char *)bs->data,bs->length) | 241 | ASN1_OBJECT *obj; |
| 193 | != bs->length) | 242 | X509_EXTENSION *ex; |
| 243 | int j; | ||
| 244 | ex=sk_X509_EXTENSION_value(exts, i); | ||
| 245 | if (BIO_printf(bp,"%12s","") <= 0) goto err; | ||
| 246 | obj=X509_EXTENSION_get_object(ex); | ||
| 247 | i2a_ASN1_OBJECT(bp,obj); | ||
| 248 | j=X509_EXTENSION_get_critical(ex); | ||
| 249 | if (BIO_printf(bp,": %s\n",j?"critical":"","") <= 0) | ||
| 194 | goto err; | 250 | goto err; |
| 195 | BIO_puts(bp,"\n"); | 251 | if(!X509V3_EXT_print(bp, ex, 0, 16)) |
| 196 | } | 252 | { |
| 197 | else | 253 | BIO_printf(bp, "%16s", ""); |
| 198 | { | 254 | M_ASN1_OCTET_STRING_print(bp,ex->value); |
| 199 | BIO_puts(bp,"unable to print attribute\n"); | 255 | } |
| 256 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 200 | } | 257 | } |
| 201 | if (++ii < count) goto get_next; | 258 | sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free); |
| 202 | } | 259 | } |
| 203 | } | 260 | } |
| 204 | 261 | ||
| 205 | exts = X509_REQ_get_extensions(x); | 262 | if(!(cflag & X509_FLAG_NO_SIGDUMP)) |
| 206 | if(exts) { | 263 | { |
| 207 | BIO_printf(bp,"%8sRequested Extensions:\n",""); | 264 | if(!X509_signature_print(bp, x->sig_alg, x->signature)) goto err; |
| 208 | for (i=0; i<sk_X509_EXTENSION_num(exts); i++) { | ||
| 209 | ASN1_OBJECT *obj; | ||
| 210 | X509_EXTENSION *ex; | ||
| 211 | int j; | ||
| 212 | ex=sk_X509_EXTENSION_value(exts, i); | ||
| 213 | if (BIO_printf(bp,"%12s","") <= 0) goto err; | ||
| 214 | obj=X509_EXTENSION_get_object(ex); | ||
| 215 | i2a_ASN1_OBJECT(bp,obj); | ||
| 216 | j=X509_EXTENSION_get_critical(ex); | ||
| 217 | if (BIO_printf(bp,": %s\n",j?"critical":"","") <= 0) | ||
| 218 | goto err; | ||
| 219 | if(!X509V3_EXT_print(bp, ex, 0, 16)) { | ||
| 220 | BIO_printf(bp, "%16s", ""); | ||
| 221 | M_ASN1_OCTET_STRING_print(bp,ex->value); | ||
| 222 | } | ||
| 223 | if (BIO_write(bp,"\n",1) <= 0) goto err; | ||
| 224 | } | 265 | } |
| 225 | sk_X509_EXTENSION_pop_free(exts, X509_EXTENSION_free); | ||
| 226 | } | ||
| 227 | |||
| 228 | if(!X509_signature_print(bp, x->sig_alg, x->signature)) goto err; | ||
| 229 | 266 | ||
| 230 | return(1); | 267 | return(1); |
| 231 | err: | 268 | err: |
| 232 | X509err(X509_F_X509_REQ_PRINT,ERR_R_BUF_LIB); | 269 | X509err(X509_F_X509_REQ_PRINT,ERR_R_BUF_LIB); |
| 233 | return(0); | 270 | return(0); |
| 234 | } | 271 | } |
| 272 | |||
| 273 | int X509_REQ_print(BIO *bp, X509_REQ *x) | ||
| 274 | { | ||
| 275 | return X509_REQ_print_ex(bp, x, XN_FLAG_COMPAT, X509_FLAG_COMPAT); | ||
| 276 | } | ||
diff --git a/src/lib/libssl/src/crypto/asn1/tasn_dec.c b/src/lib/libssl/src/crypto/asn1/tasn_dec.c index 0fc1f421e2..f87c08793a 100644 --- a/src/lib/libssl/src/crypto/asn1/tasn_dec.c +++ b/src/lib/libssl/src/crypto/asn1/tasn_dec.c | |||
| @@ -913,10 +913,10 @@ static int asn1_check_tlen(long *olen, int *otag, unsigned char *oclass, char *i | |||
| 913 | ctx->ptag = ptag; | 913 | ctx->ptag = ptag; |
| 914 | ctx->hdrlen = p - q; | 914 | ctx->hdrlen = p - q; |
| 915 | ctx->valid = 1; | 915 | ctx->valid = 1; |
| 916 | /* If definite length, length + header can't exceed total | 916 | /* If definite length, and no error, length + |
| 917 | * amount of data available. | 917 | * header can't exceed total amount of data available. |
| 918 | */ | 918 | */ |
| 919 | if(!(i & 1) && ((plen + ctx->hdrlen) > len)) { | 919 | if(!(i & 0x81) && ((plen + ctx->hdrlen) > len)) { |
| 920 | ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_TOO_LONG); | 920 | ASN1err(ASN1_F_ASN1_CHECK_TLEN, ASN1_R_TOO_LONG); |
| 921 | asn1_tlc_clear(ctx); | 921 | asn1_tlc_clear(ctx); |
| 922 | return 0; | 922 | return 0; |
diff --git a/src/lib/libssl/src/crypto/bio/b_print.c b/src/lib/libssl/src/crypto/bio/b_print.c index 3ce1290772..80c9cb69db 100644 --- a/src/lib/libssl/src/crypto/bio/b_print.c +++ b/src/lib/libssl/src/crypto/bio/b_print.c | |||
| @@ -109,7 +109,7 @@ | |||
| 109 | * o ... (for OpenSSL) | 109 | * o ... (for OpenSSL) |
| 110 | */ | 110 | */ |
| 111 | 111 | ||
| 112 | #if HAVE_LONG_DOUBLE | 112 | #ifdef HAVE_LONG_DOUBLE |
| 113 | #define LDOUBLE long double | 113 | #define LDOUBLE long double |
| 114 | #else | 114 | #else |
| 115 | #define LDOUBLE double | 115 | #define LDOUBLE double |
diff --git a/src/lib/libssl/src/crypto/bn/bn.h b/src/lib/libssl/src/crypto/bn/bn.h index 1eaf879553..b40682f831 100644 --- a/src/lib/libssl/src/crypto/bn/bn.h +++ b/src/lib/libssl/src/crypto/bn/bn.h | |||
| @@ -430,7 +430,7 @@ int BN_mod_mul_montgomery(BIGNUM *r,const BIGNUM *a,const BIGNUM *b, | |||
| 430 | int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, | 430 | int BN_from_montgomery(BIGNUM *r,const BIGNUM *a, |
| 431 | BN_MONT_CTX *mont, BN_CTX *ctx); | 431 | BN_MONT_CTX *mont, BN_CTX *ctx); |
| 432 | void BN_MONT_CTX_free(BN_MONT_CTX *mont); | 432 | void BN_MONT_CTX_free(BN_MONT_CTX *mont); |
| 433 | int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *modulus,BN_CTX *ctx); | 433 | int BN_MONT_CTX_set(BN_MONT_CTX *mont,const BIGNUM *mod,BN_CTX *ctx); |
| 434 | BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); | 434 | BN_MONT_CTX *BN_MONT_CTX_copy(BN_MONT_CTX *to,BN_MONT_CTX *from); |
| 435 | 435 | ||
| 436 | BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); | 436 | BN_BLINDING *BN_BLINDING_new(BIGNUM *A,BIGNUM *Ai,BIGNUM *mod); |
diff --git a/src/lib/libssl/src/crypto/crypto-lib.com b/src/lib/libssl/src/crypto/crypto-lib.com index 4847a69a71..dfcff11860 100644 --- a/src/lib/libssl/src/crypto/crypto-lib.com +++ b/src/lib/libssl/src/crypto/crypto-lib.com | |||
| @@ -231,7 +231,7 @@ $ LIB_RAND = "md_rand,randfile,rand_lib,rand_err,rand_egd,"+ - | |||
| 231 | "rand_vms" | 231 | "rand_vms" |
| 232 | $ LIB_ERR = "err,err_all,err_prn" | 232 | $ LIB_ERR = "err,err_all,err_prn" |
| 233 | $ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err" | 233 | $ LIB_OBJECTS = "o_names,obj_dat,obj_lib,obj_err" |
| 234 | $ LIB_EVP = "encode,digest,evp_enc,evp_key,"+ - | 234 | $ LIB_EVP = "encode,digest,evp_enc,evp_key,evp_acnf,"+ - |
| 235 | "e_des,e_bf,e_idea,e_des3,"+ - | 235 | "e_des,e_bf,e_idea,e_des3,"+ - |
| 236 | "e_rc4,e_aes,names,"+ - | 236 | "e_rc4,e_aes,names,"+ - |
| 237 | "e_xcbc_d,e_rc2,e_cast,e_rc5" | 237 | "e_xcbc_d,e_rc2,e_cast,e_rc5" |
| @@ -265,14 +265,14 @@ $ LIB_X509V3 = "v3_bcons,v3_bitst,v3_conf,v3_extku,v3_ia5,v3_lib,"+ - | |||
| 265 | "v3_prn,v3_utl,v3err,v3_genn,v3_alt,v3_skey,v3_akey,v3_pku,"+ - | 265 | "v3_prn,v3_utl,v3err,v3_genn,v3_alt,v3_skey,v3_akey,v3_pku,"+ - |
| 266 | "v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info,"+ - | 266 | "v3_int,v3_enum,v3_sxnet,v3_cpols,v3_crld,v3_purp,v3_info,"+ - |
| 267 | "v3_ocsp,v3_akeya" | 267 | "v3_ocsp,v3_akeya" |
| 268 | $ LIB_CONF = "conf_err,conf_lib,conf_api,conf_def,conf_mod,conf_mall" | 268 | $ LIB_CONF = "conf_err,conf_lib,conf_api,conf_def,conf_mod,conf_mall,conf_sap" |
| 269 | $ LIB_TXT_DB = "txt_db" | 269 | $ LIB_TXT_DB = "txt_db" |
| 270 | $ LIB_PKCS7 = "pk7_asn1,pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,"+ - | 270 | $ LIB_PKCS7 = "pk7_asn1,pk7_lib,pkcs7err,pk7_doit,pk7_smime,pk7_attr,"+ - |
| 271 | "pk7_mime" | 271 | "pk7_mime" |
| 272 | $ LIB_PKCS12 = "p12_add,p12_asn,p12_attr,p12_crpt,p12_crt,p12_decr,"+ - | 272 | $ LIB_PKCS12 = "p12_add,p12_asn,p12_attr,p12_crpt,p12_crt,p12_decr,"+ - |
| 273 | "p12_init,p12_key,p12_kiss,p12_mutl,"+ - | 273 | "p12_init,p12_key,p12_kiss,p12_mutl,"+ - |
| 274 | "p12_utl,p12_npas,pk12err,p12_p8d,p12_p8e" | 274 | "p12_utl,p12_npas,pk12err,p12_p8d,p12_p8e" |
| 275 | $ LIB_COMP = "comp_lib,"+ - | 275 | $ LIB_COMP = "comp_lib,comp_err,"+ - |
| 276 | "c_rle,c_zlib" | 276 | "c_rle,c_zlib" |
| 277 | $ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ - | 277 | $ LIB_OCSP = "ocsp_asn,ocsp_ext,ocsp_ht,ocsp_lib,ocsp_cl,"+ - |
| 278 | "ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err" | 278 | "ocsp_srv,ocsp_prn,ocsp_vfy,ocsp_err" |
| @@ -1325,7 +1325,7 @@ $ CC4 = CC - CCDISABLEWARNINGS + CC4DISABLEWARNINGS | |||
| 1325 | $! | 1325 | $! |
| 1326 | $! Show user the result | 1326 | $! Show user the result |
| 1327 | $! | 1327 | $! |
| 1328 | $ WRITE SYS$OUTPUT "Main C Compiling Command: ",CC | 1328 | $ WRITE/SYMBOL SYS$OUTPUT "Main C Compiling Command: ",CC |
| 1329 | $! | 1329 | $! |
| 1330 | $! Else The User Entered An Invalid Arguement. | 1330 | $! Else The User Entered An Invalid Arguement. |
| 1331 | $! | 1331 | $! |
| @@ -1356,7 +1356,7 @@ $ IF ARCH .EQS. "AXP" THEN MACRO = "MACRO/MIGRATION/''DEBUGGER'/''MACRO_OPTIMIZE | |||
| 1356 | $! | 1356 | $! |
| 1357 | $! Show user the result | 1357 | $! Show user the result |
| 1358 | $! | 1358 | $! |
| 1359 | $ WRITE SYS$OUTPUT "Main MACRO Compiling Command: ",MACRO | 1359 | $ WRITE/SYMBOL SYS$OUTPUT "Main MACRO Compiling Command: ",MACRO |
| 1360 | $! | 1360 | $! |
| 1361 | $! Time to check the contents, and to make sure we get the correct library. | 1361 | $! Time to check the contents, and to make sure we get the correct library. |
| 1362 | $! | 1362 | $! |
diff --git a/src/lib/libssl/src/crypto/des/Makefile.ssl b/src/lib/libssl/src/crypto/des/Makefile.ssl index ee5849d8fa..826ffcc58c 100644 --- a/src/lib/libssl/src/crypto/des/Makefile.ssl +++ b/src/lib/libssl/src/crypto/des/Makefile.ssl | |||
| @@ -207,7 +207,8 @@ ecb_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | |||
| 207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h | 207 | ecb_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/opensslv.h |
| 208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h | 208 | ecb_enc.o: ../../include/openssl/safestack.h ../../include/openssl/stack.h |
| 209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h | 209 | ecb_enc.o: ../../include/openssl/symhacks.h ../../include/openssl/ui.h |
| 210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h ecb_enc.c spr.h | 210 | ecb_enc.o: ../../include/openssl/ui_compat.h des_locl.h des_ver.h ecb_enc.c |
| 211 | ecb_enc.o: spr.h | ||
| 211 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h | 212 | ede_cbcm_enc.o: ../../include/openssl/crypto.h ../../include/openssl/des.h |
| 212 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h | 213 | ede_cbcm_enc.o: ../../include/openssl/des_old.h ../../include/openssl/e_os2.h |
| 213 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h | 214 | ede_cbcm_enc.o: ../../include/openssl/opensslconf.h |
diff --git a/src/lib/libssl/src/crypto/des/des_ver.h b/src/lib/libssl/src/crypto/des/des_ver.h index 0fa94d5368..ec9cc736e3 100644 --- a/src/lib/libssl/src/crypto/des/des_ver.h +++ b/src/lib/libssl/src/crypto/des/des_ver.h | |||
| @@ -63,5 +63,5 @@ | |||
| 63 | # define OPENSSL_EXTERN OPENSSL_EXPORT | 63 | # define OPENSSL_EXTERN OPENSSL_EXPORT |
| 64 | #endif | 64 | #endif |
| 65 | 65 | ||
| 66 | OPENSSL_EXTERN char *DES_version; /* SSLeay version string */ | 66 | OPENSSL_EXTERN const char *DES_version; /* SSLeay version string */ |
| 67 | OPENSSL_EXTERN char *libdes_version; /* old libdes version string */ | 67 | OPENSSL_EXTERN const char *libdes_version; /* old libdes version string */ |
diff --git a/src/lib/libssl/src/crypto/des/ecb_enc.c b/src/lib/libssl/src/crypto/des/ecb_enc.c index 4650f2fa0f..1b70f68806 100644 --- a/src/lib/libssl/src/crypto/des/ecb_enc.c +++ b/src/lib/libssl/src/crypto/des/ecb_enc.c | |||
| @@ -57,6 +57,7 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include "des_locl.h" | 59 | #include "des_locl.h" |
| 60 | #include "des_ver.h" | ||
| 60 | #include "spr.h" | 61 | #include "spr.h" |
| 61 | #include <openssl/opensslv.h> | 62 | #include <openssl/opensslv.h> |
| 62 | 63 | ||
diff --git a/src/lib/libssl/src/crypto/des/set_key.c b/src/lib/libssl/src/crypto/des/set_key.c index 683916e71b..143008ed9c 100644 --- a/src/lib/libssl/src/crypto/des/set_key.c +++ b/src/lib/libssl/src/crypto/des/set_key.c | |||
| @@ -342,7 +342,7 @@ void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule) | |||
| 342 | register DES_LONG *k; | 342 | register DES_LONG *k; |
| 343 | register int i; | 343 | register int i; |
| 344 | 344 | ||
| 345 | #if OPENBSD_DEV_CRYPTO | 345 | #ifdef OPENBSD_DEV_CRYPTO |
| 346 | memcpy(schedule->key,key,sizeof schedule->key); | 346 | memcpy(schedule->key,key,sizeof schedule->key); |
| 347 | schedule->session=NULL; | 347 | schedule->session=NULL; |
| 348 | #endif | 348 | #endif |
diff --git a/src/lib/libssl/src/crypto/engine/hw_4758_cca.c b/src/lib/libssl/src/crypto/engine/hw_4758_cca.c index f404b1a3b8..6d41b9ed2a 100644 --- a/src/lib/libssl/src/crypto/engine/hw_4758_cca.c +++ b/src/lib/libssl/src/crypto/engine/hw_4758_cca.c | |||
| @@ -953,7 +953,7 @@ static void cca_ex_free(void *obj, void *item, CRYPTO_EX_DATA *ad, int idx, | |||
| 953 | #ifdef ENGINE_DYNAMIC_SUPPORT | 953 | #ifdef ENGINE_DYNAMIC_SUPPORT |
| 954 | static int bind_fn(ENGINE *e, const char *id) | 954 | static int bind_fn(ENGINE *e, const char *id) |
| 955 | { | 955 | { |
| 956 | if(id && (strcmp(id, engine_cswift_id) != 0)) | 956 | if(id && (strcmp(id, engine_4758_cca_id) != 0)) |
| 957 | return 0; | 957 | return 0; |
| 958 | if(!bind_helper(e)) | 958 | if(!bind_helper(e)) |
| 959 | return 0; | 959 | return 0; |
diff --git a/src/lib/libssl/src/crypto/engine/hw_openbsd_dev_crypto.c b/src/lib/libssl/src/crypto/engine/hw_openbsd_dev_crypto.c index f946389b8a..b8aab545db 100644 --- a/src/lib/libssl/src/crypto/engine/hw_openbsd_dev_crypto.c +++ b/src/lib/libssl/src/crypto/engine/hw_openbsd_dev_crypto.c | |||
| @@ -408,7 +408,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ | 408 | cryp.op=COP_ENCRYPT;/* required to do the MAC rather than check it */ |
| 409 | cryp.len=len; | 409 | cryp.len=len; |
| 410 | cryp.src=(caddr_t)data; | 410 | cryp.src=(caddr_t)data; |
| 411 | cryp.dst=(caddr_t)data; // FIXME!!! | 411 | cryp.dst=(caddr_t)data; /* FIXME!!! */ |
| 412 | cryp.mac=(caddr_t)md; | 412 | cryp.mac=(caddr_t)md; |
| 413 | 413 | ||
| 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 414 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
| @@ -420,7 +420,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 420 | dcopy=OPENSSL_malloc(len); | 420 | dcopy=OPENSSL_malloc(len); |
| 421 | memcpy(dcopy,data,len); | 421 | memcpy(dcopy,data,len); |
| 422 | cryp.src=dcopy; | 422 | cryp.src=dcopy; |
| 423 | cryp.dst=cryp.src; // FIXME!!! | 423 | cryp.dst=cryp.src; /* FIXME!!! */ |
| 424 | 424 | ||
| 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) | 425 | if(ioctl(fd, CIOCCRYPT, &cryp) == -1) |
| 426 | { | 426 | { |
| @@ -437,7 +437,7 @@ static int do_digest(int ses,unsigned char *md,const void *data,int len) | |||
| 437 | return 0; | 437 | return 0; |
| 438 | } | 438 | } |
| 439 | } | 439 | } |
| 440 | // printf("done\n"); | 440 | /* printf("done\n"); */ |
| 441 | 441 | ||
| 442 | return 1; | 442 | return 1; |
| 443 | } | 443 | } |
| @@ -483,7 +483,7 @@ static int dev_crypto_md5_copy(EVP_MD_CTX *to,const EVP_MD_CTX *from) | |||
| 483 | const MD_DATA *from_md=from->md_data; | 483 | const MD_DATA *from_md=from->md_data; |
| 484 | MD_DATA *to_md=to->md_data; | 484 | MD_DATA *to_md=to->md_data; |
| 485 | 485 | ||
| 486 | // How do we copy sessions? | 486 | /* How do we copy sessions? */ |
| 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); | 487 | assert(from->digest->flags&EVP_MD_FLAG_ONESHOT); |
| 488 | 488 | ||
| 489 | to_md->data=OPENSSL_malloc(from_md->len); | 489 | to_md->data=OPENSSL_malloc(from_md->len); |
| @@ -530,7 +530,7 @@ static const EVP_MD md5_md= | |||
| 530 | NID_md5, | 530 | NID_md5, |
| 531 | NID_md5WithRSAEncryption, | 531 | NID_md5WithRSAEncryption, |
| 532 | MD5_DIGEST_LENGTH, | 532 | MD5_DIGEST_LENGTH, |
| 533 | EVP_MD_FLAG_ONESHOT, // XXX: set according to device info... | 533 | EVP_MD_FLAG_ONESHOT, /* XXX: set according to device info... */ |
| 534 | dev_crypto_md5_init, | 534 | dev_crypto_md5_init, |
| 535 | dev_crypto_md5_update, | 535 | dev_crypto_md5_update, |
| 536 | dev_crypto_md5_final, | 536 | dev_crypto_md5_final, |
diff --git a/src/lib/libssl/src/crypto/engine/hw_ubsec.c b/src/lib/libssl/src/crypto/engine/hw_ubsec.c index 63397f868c..ed8401ec16 100644 --- a/src/lib/libssl/src/crypto/engine/hw_ubsec.c +++ b/src/lib/libssl/src/crypto/engine/hw_ubsec.c | |||
| @@ -93,7 +93,7 @@ static int ubsec_rsa_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa); | |||
| 93 | static int ubsec_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | 93 | static int ubsec_mod_exp_mont(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, |
| 94 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); | 94 | const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx); |
| 95 | #ifndef OPENSSL_NO_DSA | 95 | #ifndef OPENSSL_NO_DSA |
| 96 | #if NOT_USED | 96 | #ifdef NOT_USED |
| 97 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, | 97 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, |
| 98 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, | 98 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, |
| 99 | BN_CTX *ctx, BN_MONT_CTX *in_mont); | 99 | BN_CTX *ctx, BN_MONT_CTX *in_mont); |
| @@ -113,7 +113,7 @@ static int ubsec_dh_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh) | |||
| 113 | static int ubsec_dh_generate_key(DH *dh); | 113 | static int ubsec_dh_generate_key(DH *dh); |
| 114 | #endif | 114 | #endif |
| 115 | 115 | ||
| 116 | #if NOT_USED | 116 | #ifdef NOT_USED |
| 117 | static int ubsec_rand_bytes(unsigned char *buf, int num); | 117 | static int ubsec_rand_bytes(unsigned char *buf, int num); |
| 118 | static int ubsec_rand_status(void); | 118 | static int ubsec_rand_status(void); |
| 119 | #endif | 119 | #endif |
| @@ -663,7 +663,7 @@ static int ubsec_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, | |||
| 663 | } | 663 | } |
| 664 | 664 | ||
| 665 | #ifndef OPENSSL_NO_DSA | 665 | #ifndef OPENSSL_NO_DSA |
| 666 | #if NOT_USED | 666 | #ifdef NOT_USED |
| 667 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, | 667 | static int ubsec_dsa_mod_exp(DSA *dsa, BIGNUM *rr, BIGNUM *a1, |
| 668 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, | 668 | BIGNUM *p1, BIGNUM *a2, BIGNUM *p2, BIGNUM *m, |
| 669 | BN_CTX *ctx, BN_MONT_CTX *in_mont) | 669 | BN_CTX *ctx, BN_MONT_CTX *in_mont) |
| @@ -987,7 +987,7 @@ err: | |||
| 987 | } | 987 | } |
| 988 | #endif | 988 | #endif |
| 989 | 989 | ||
| 990 | #if NOT_USED | 990 | #ifdef NOT_USED |
| 991 | static int ubsec_rand_bytes(unsigned char * buf, | 991 | static int ubsec_rand_bytes(unsigned char * buf, |
| 992 | int num) | 992 | int num) |
| 993 | { | 993 | { |
diff --git a/src/lib/libssl/src/crypto/evp/evp_locl.h b/src/lib/libssl/src/crypto/evp/evp_locl.h index 7b088b4848..4d81a3bf4c 100644 --- a/src/lib/libssl/src/crypto/evp/evp_locl.h +++ b/src/lib/libssl/src/crypto/evp/evp_locl.h | |||
| @@ -124,17 +124,17 @@ const EVP_CIPHER *EVP_##cname##_##mode(void) { return &cname##_##mode; } | |||
| 124 | BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ | 124 | BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ |
| 125 | iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl) | 125 | iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl) |
| 126 | 126 | ||
| 127 | #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, block_size, key_len, \ | 127 | #define BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, \ |
| 128 | iv_len, cbits, flags, init_key, cleanup, \ | 128 | iv_len, cbits, flags, init_key, cleanup, \ |
| 129 | set_asn1, get_asn1, ctrl) \ | 129 | set_asn1, get_asn1, ctrl) \ |
| 130 | BLOCK_CIPHER_def1(cname, cfb##cbits, cfb, CFB, kstruct, nid, block_size, \ | 130 | BLOCK_CIPHER_def1(cname, cfb##cbits, cfb, CFB, kstruct, nid, 1, \ |
| 131 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ | 131 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ |
| 132 | get_asn1, ctrl) | 132 | get_asn1, ctrl) |
| 133 | 133 | ||
| 134 | #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, block_size, key_len, \ | 134 | #define BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, \ |
| 135 | iv_len, cbits, flags, init_key, cleanup, \ | 135 | iv_len, cbits, flags, init_key, cleanup, \ |
| 136 | set_asn1, get_asn1, ctrl) \ | 136 | set_asn1, get_asn1, ctrl) \ |
| 137 | BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, block_size, \ | 137 | BLOCK_CIPHER_def1(cname, ofb##cbits, ofb, OFB, kstruct, nid, 1, \ |
| 138 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ | 138 | key_len, iv_len, flags, init_key, cleanup, set_asn1, \ |
| 139 | get_asn1, ctrl) | 139 | get_asn1, ctrl) |
| 140 | 140 | ||
| @@ -149,9 +149,9 @@ BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ | |||
| 149 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 149 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 150 | BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ | 150 | BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ |
| 151 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 151 | init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 152 | BLOCK_CIPHER_def_cfb(cname, kstruct, nid, block_size, key_len, iv_len, cbits, \ | 152 | BLOCK_CIPHER_def_cfb(cname, kstruct, nid, key_len, iv_len, cbits, \ |
| 153 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 153 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 154 | BLOCK_CIPHER_def_ofb(cname, kstruct, nid, block_size, key_len, iv_len, cbits, \ | 154 | BLOCK_CIPHER_def_ofb(cname, kstruct, nid, key_len, iv_len, cbits, \ |
| 155 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ | 155 | flags, init_key, cleanup, set_asn1, get_asn1, ctrl) \ |
| 156 | BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ | 156 | BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ |
| 157 | init_key, cleanup, set_asn1, get_asn1, ctrl) | 157 | init_key, cleanup, set_asn1, get_asn1, ctrl) |
diff --git a/src/lib/libssl/src/crypto/krb5/Makefile.ssl b/src/lib/libssl/src/crypto/krb5/Makefile.ssl index caf111be8d..7ad0cbb0bc 100644 --- a/src/lib/libssl/src/crypto/krb5/Makefile.ssl +++ b/src/lib/libssl/src/crypto/krb5/Makefile.ssl | |||
| @@ -45,13 +45,13 @@ lib: $(LIBOBJ) | |||
| 45 | @touch lib | 45 | @touch lib |
| 46 | 46 | ||
| 47 | files: | 47 | files: |
| 48 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 48 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 49 | 49 | ||
| 50 | links: | 50 | links: |
| 51 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile | 51 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile ; |
| 52 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 52 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 53 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 53 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 55 | 55 | ||
| 56 | install: | 56 | install: |
| 57 | @for i in $(EXHEADER) ; \ | 57 | @for i in $(EXHEADER) ; \ |
diff --git a/src/lib/libssl/src/crypto/mem.c b/src/lib/libssl/src/crypto/mem.c index effec714e8..a7826908e6 100644 --- a/src/lib/libssl/src/crypto/mem.c +++ b/src/lib/libssl/src/crypto/mem.c | |||
| @@ -303,6 +303,9 @@ void *CRYPTO_realloc(void *str, int num, const char *file, int line) | |||
| 303 | { | 303 | { |
| 304 | void *ret = NULL; | 304 | void *ret = NULL; |
| 305 | 305 | ||
| 306 | if (str == NULL) | ||
| 307 | return CRYPTO_malloc(num, file, line); | ||
| 308 | |||
| 306 | if (realloc_debug_func != NULL) | 309 | if (realloc_debug_func != NULL) |
| 307 | realloc_debug_func(str, NULL, num, file, line, 0); | 310 | realloc_debug_func(str, NULL, num, file, line, 0); |
| 308 | ret = realloc_ex_func(str,num,file,line); | 311 | ret = realloc_ex_func(str,num,file,line); |
diff --git a/src/lib/libssl/src/crypto/objects/obj_dat.c b/src/lib/libssl/src/crypto/objects/obj_dat.c index 02c3719f04..ce779dc1b5 100644 --- a/src/lib/libssl/src/crypto/objects/obj_dat.c +++ b/src/lib/libssl/src/crypto/objects/obj_dat.c | |||
| @@ -425,7 +425,7 @@ ASN1_OBJECT *OBJ_txt2obj(const char *s, int no_name) | |||
| 425 | a2d_ASN1_OBJECT(p,i,s,-1); | 425 | a2d_ASN1_OBJECT(p,i,s,-1); |
| 426 | 426 | ||
| 427 | p=buf; | 427 | p=buf; |
| 428 | op=d2i_ASN1_OBJECT(NULL,&p,i); | 428 | op=d2i_ASN1_OBJECT(NULL,&p,j); |
| 429 | OPENSSL_free(buf); | 429 | OPENSSL_free(buf); |
| 430 | return op; | 430 | return op; |
| 431 | } | 431 | } |
diff --git a/src/lib/libssl/src/crypto/ocsp/Makefile.ssl b/src/lib/libssl/src/crypto/ocsp/Makefile.ssl index 44eacbbb13..2be98179ae 100644 --- a/src/lib/libssl/src/crypto/ocsp/Makefile.ssl +++ b/src/lib/libssl/src/crypto/ocsp/Makefile.ssl | |||
| @@ -47,13 +47,13 @@ lib: $(LIBOBJ) | |||
| 47 | @touch lib | 47 | @touch lib |
| 48 | 48 | ||
| 49 | files: | 49 | files: |
| 50 | perl $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO | 50 | $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO |
| 51 | 51 | ||
| 52 | links: | 52 | links: |
| 53 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile | 53 | @sh $(TOP)/util/point.sh Makefile.ssl Makefile ; |
| 54 | $(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) | 54 | @$(PERL) $(TOP)/util/mklink.pl ../../include/openssl $(EXHEADER) |
| 55 | $(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) | 55 | @$(PERL) $(TOP)/util/mklink.pl ../../test $(TEST) |
| 56 | $(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) | 56 | @$(PERL) $(TOP)/util/mklink.pl ../../apps $(APPS) |
| 57 | 57 | ||
| 58 | install: | 58 | install: |
| 59 | @for i in $(EXHEADER) ; \ | 59 | @for i in $(EXHEADER) ; \ |
diff --git a/src/lib/libssl/src/crypto/pem/pem_lib.c b/src/lib/libssl/src/crypto/pem/pem_lib.c index 18b751a91a..a8db6ffbf5 100644 --- a/src/lib/libssl/src/crypto/pem/pem_lib.c +++ b/src/lib/libssl/src/crypto/pem/pem_lib.c | |||
| @@ -366,8 +366,11 @@ err: | |||
| 366 | memset(iv,0,sizeof(iv)); | 366 | memset(iv,0,sizeof(iv)); |
| 367 | memset((char *)&ctx,0,sizeof(ctx)); | 367 | memset((char *)&ctx,0,sizeof(ctx)); |
| 368 | memset(buf,0,PEM_BUFSIZE); | 368 | memset(buf,0,PEM_BUFSIZE); |
| 369 | memset(data,0,(unsigned int)dsize); | 369 | if (data != NULL) |
| 370 | OPENSSL_free(data); | 370 | { |
| 371 | memset(data,0,(unsigned int)dsize); | ||
| 372 | OPENSSL_free(data); | ||
| 373 | } | ||
| 371 | return(ret); | 374 | return(ret); |
| 372 | } | 375 | } |
| 373 | 376 | ||
diff --git a/src/lib/libssl/src/crypto/pkcs12/p12_asn.c b/src/lib/libssl/src/crypto/pkcs12/p12_asn.c index c327bdba03..a3739fee1a 100644 --- a/src/lib/libssl/src/crypto/pkcs12/p12_asn.c +++ b/src/lib/libssl/src/crypto/pkcs12/p12_asn.c | |||
| @@ -83,8 +83,8 @@ ASN1_ADB_TEMPLATE(bag_default) = ASN1_EXP(PKCS12_BAGS, value.other, ASN1_ANY, 0) | |||
| 83 | 83 | ||
| 84 | ASN1_ADB(PKCS12_BAGS) = { | 84 | ASN1_ADB(PKCS12_BAGS) = { |
| 85 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509cert, ASN1_OCTET_STRING, 0)), | 85 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509cert, ASN1_OCTET_STRING, 0)), |
| 86 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.x509crl, ASN1_OCTET_STRING, 0)), | 86 | ADB_ENTRY(NID_x509Crl, ASN1_EXP(PKCS12_BAGS, value.x509crl, ASN1_OCTET_STRING, 0)), |
| 87 | ADB_ENTRY(NID_x509Certificate, ASN1_EXP(PKCS12_BAGS, value.sdsicert, ASN1_IA5STRING, 0)), | 87 | ADB_ENTRY(NID_sdsiCertificate, ASN1_EXP(PKCS12_BAGS, value.sdsicert, ASN1_IA5STRING, 0)), |
| 88 | } ASN1_ADB_END(PKCS12_BAGS, 0, type, 0, &bag_default_tt, NULL); | 88 | } ASN1_ADB_END(PKCS12_BAGS, 0, type, 0, &bag_default_tt, NULL); |
| 89 | 89 | ||
| 90 | ASN1_SEQUENCE(PKCS12_BAGS) = { | 90 | ASN1_SEQUENCE(PKCS12_BAGS) = { |
| @@ -98,7 +98,7 @@ ASN1_ADB_TEMPLATE(safebag_default) = ASN1_EXP(PKCS12_SAFEBAG, value.other, ASN1_ | |||
| 98 | 98 | ||
| 99 | ASN1_ADB(PKCS12_SAFEBAG) = { | 99 | ASN1_ADB(PKCS12_SAFEBAG) = { |
| 100 | ADB_ENTRY(NID_keyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, PKCS8_PRIV_KEY_INFO, 0)), | 100 | ADB_ENTRY(NID_keyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, PKCS8_PRIV_KEY_INFO, 0)), |
| 101 | ADB_ENTRY(NID_pkcs8ShroudedKeyBag, ASN1_EXP(PKCS12_SAFEBAG, value.keybag, X509_SIG, 0)), | 101 | ADB_ENTRY(NID_pkcs8ShroudedKeyBag, ASN1_EXP(PKCS12_SAFEBAG, value.shkeybag, X509_SIG, 0)), |
| 102 | ADB_ENTRY(NID_safeContentsBag, ASN1_EXP_SET_OF(PKCS12_SAFEBAG, value.safes, PKCS12_SAFEBAG, 0)), | 102 | ADB_ENTRY(NID_safeContentsBag, ASN1_EXP_SET_OF(PKCS12_SAFEBAG, value.safes, PKCS12_SAFEBAG, 0)), |
| 103 | ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), | 103 | ADB_ENTRY(NID_certBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), |
| 104 | ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), | 104 | ADB_ENTRY(NID_crlBag, ASN1_EXP(PKCS12_SAFEBAG, value.bag, PKCS12_BAGS, 0)), |
diff --git a/src/lib/libssl/src/crypto/pkcs7/pk7_lib.c b/src/lib/libssl/src/crypto/pkcs7/pk7_lib.c index c00ed6833a..985b07245c 100644 --- a/src/lib/libssl/src/crypto/pkcs7/pk7_lib.c +++ b/src/lib/libssl/src/crypto/pkcs7/pk7_lib.c | |||
| @@ -74,6 +74,13 @@ long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) | |||
| 74 | if (nid == NID_pkcs7_signed) | 74 | if (nid == NID_pkcs7_signed) |
| 75 | { | 75 | { |
| 76 | ret=p7->detached=(int)larg; | 76 | ret=p7->detached=(int)larg; |
| 77 | if (ret && PKCS7_type_is_data(p7->d.sign->contents)) | ||
| 78 | { | ||
| 79 | ASN1_OCTET_STRING *os; | ||
| 80 | os=p7->d.sign->contents->d.data; | ||
| 81 | ASN1_OCTET_STRING_free(os); | ||
| 82 | p7->d.sign->contents->d.data = NULL; | ||
| 83 | } | ||
| 77 | } | 84 | } |
| 78 | else | 85 | else |
| 79 | { | 86 | { |
diff --git a/src/lib/libssl/src/crypto/ripemd/rmdtest.c b/src/lib/libssl/src/crypto/ripemd/rmdtest.c index 19e9741db2..be1fb8b1f6 100644 --- a/src/lib/libssl/src/crypto/ripemd/rmdtest.c +++ b/src/lib/libssl/src/crypto/ripemd/rmdtest.c | |||
| @@ -59,7 +59,6 @@ | |||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include <string.h> | 60 | #include <string.h> |
| 61 | #include <stdlib.h> | 61 | #include <stdlib.h> |
| 62 | #include <openssl/ripemd.h> | ||
| 63 | 62 | ||
| 64 | #ifdef OPENSSL_NO_RIPEMD | 63 | #ifdef OPENSSL_NO_RIPEMD |
| 65 | int main(int argc, char *argv[]) | 64 | int main(int argc, char *argv[]) |
| @@ -68,6 +67,7 @@ int main(int argc, char *argv[]) | |||
| 68 | return(0); | 67 | return(0); |
| 69 | } | 68 | } |
| 70 | #else | 69 | #else |
| 70 | #include <openssl/ripemd.h> | ||
| 71 | #include <openssl/evp.h> | 71 | #include <openssl/evp.h> |
| 72 | 72 | ||
| 73 | #ifdef CHARSET_EBCDIC | 73 | #ifdef CHARSET_EBCDIC |
diff --git a/src/lib/libssl/src/crypto/x509/x509.h b/src/lib/libssl/src/crypto/x509/x509.h index c75aa0c717..7095440d36 100644 --- a/src/lib/libssl/src/crypto/x509/x509.h +++ b/src/lib/libssl/src/crypto/x509/x509.h | |||
| @@ -331,6 +331,7 @@ DECLARE_STACK_OF(X509_TRUST) | |||
| 331 | #define X509_FLAG_NO_EXTENSIONS (1L << 8) | 331 | #define X509_FLAG_NO_EXTENSIONS (1L << 8) |
| 332 | #define X509_FLAG_NO_SIGDUMP (1L << 9) | 332 | #define X509_FLAG_NO_SIGDUMP (1L << 9) |
| 333 | #define X509_FLAG_NO_AUX (1L << 10) | 333 | #define X509_FLAG_NO_AUX (1L << 10) |
| 334 | #define X509_FLAG_NO_ATTRIBUTES (1L << 11) | ||
| 334 | 335 | ||
| 335 | /* Flags specific to X509_NAME_print_ex() */ | 336 | /* Flags specific to X509_NAME_print_ex() */ |
| 336 | 337 | ||
| @@ -1015,6 +1016,7 @@ int X509_print(BIO *bp,X509 *x); | |||
| 1015 | int X509_ocspid_print(BIO *bp,X509 *x); | 1016 | int X509_ocspid_print(BIO *bp,X509 *x); |
| 1016 | int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); | 1017 | int X509_CERT_AUX_print(BIO *bp,X509_CERT_AUX *x, int indent); |
| 1017 | int X509_CRL_print(BIO *bp,X509_CRL *x); | 1018 | int X509_CRL_print(BIO *bp,X509_CRL *x); |
| 1019 | int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag, unsigned long cflag); | ||
| 1018 | int X509_REQ_print(BIO *bp,X509_REQ *req); | 1020 | int X509_REQ_print(BIO *bp,X509_REQ *req); |
| 1019 | #endif | 1021 | #endif |
| 1020 | 1022 | ||
diff --git a/src/lib/libssl/src/doc/crypto/DH_set_method.pod b/src/lib/libssl/src/doc/crypto/DH_set_method.pod index d990bf8786..73261fc467 100644 --- a/src/lib/libssl/src/doc/crypto/DH_set_method.pod +++ b/src/lib/libssl/src/doc/crypto/DH_set_method.pod | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | =head1 NAME | 3 | =head1 NAME |
| 4 | 4 | ||
| 5 | DH_set_default_openssl_method, DH_get_default_openssl_method, | 5 | DH_set_default_method, DH_get_default_method, |
| 6 | DH_set_method, DH_new_method, DH_OpenSSL - select DH method | 6 | DH_set_method, DH_new_method, DH_OpenSSL - select DH method |
| 7 | 7 | ||
| 8 | =head1 SYNOPSIS | 8 | =head1 SYNOPSIS |
| @@ -10,45 +10,47 @@ DH_set_method, DH_new_method, DH_OpenSSL - select DH method | |||
| 10 | #include <openssl/dh.h> | 10 | #include <openssl/dh.h> |
| 11 | #include <openssl/engine.h> | 11 | #include <openssl/engine.h> |
| 12 | 12 | ||
| 13 | void DH_set_default_openssl_method(DH_METHOD *meth); | 13 | void DH_set_default_method(const DH_METHOD *meth); |
| 14 | 14 | ||
| 15 | DH_METHOD *DH_get_default_openssl_method(void); | 15 | const DH_METHOD *DH_get_default_method(void); |
| 16 | 16 | ||
| 17 | int DH_set_method(DH *dh, ENGINE *engine); | 17 | int DH_set_method(DH *dh, const DH_METHOD *meth); |
| 18 | 18 | ||
| 19 | DH *DH_new_method(ENGINE *engine); | 19 | DH *DH_new_method(ENGINE *engine); |
| 20 | 20 | ||
| 21 | DH_METHOD *DH_OpenSSL(void); | 21 | const DH_METHOD *DH_OpenSSL(void); |
| 22 | 22 | ||
| 23 | =head1 DESCRIPTION | 23 | =head1 DESCRIPTION |
| 24 | 24 | ||
| 25 | A B<DH_METHOD> specifies the functions that OpenSSL uses for Diffie-Hellman | 25 | A B<DH_METHOD> specifies the functions that OpenSSL uses for Diffie-Hellman |
| 26 | operations. By modifying the method, alternative implementations | 26 | operations. By modifying the method, alternative implementations |
| 27 | such as hardware accelerators may be used. | 27 | such as hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 28 | 28 | important information about how these DH API functions are affected by the use | |
| 29 | Initially, the default is to use the OpenSSL internal implementation. | 29 | of B<ENGINE> API calls. |
| 30 | DH_OpenSSL() returns a pointer to that method. | 30 | |
| 31 | 31 | Initially, the default DH_METHOD is the OpenSSL internal implementation, as | |
| 32 | DH_set_default_openssl_method() makes B<meth> the default method for all DH | 32 | returned by DH_OpenSSL(). |
| 33 | structures created later. B<NB:> This is true only whilst the default engine | 33 | |
| 34 | for Diffie-Hellman operations remains as "openssl". ENGINEs provide an | 34 | DH_set_default_method() makes B<meth> the default method for all DH |
| 35 | encapsulation for implementations of one or more algorithms, and all the DH | 35 | structures created later. B<NB>: This is true only whilst no ENGINE has been set |
| 36 | functions mentioned here operate within the scope of the default | 36 | as a default for DH, so this function is no longer recommended. |
| 37 | "openssl" engine. | 37 | |
| 38 | 38 | DH_get_default_method() returns a pointer to the current default DH_METHOD. | |
| 39 | DH_get_default_openssl_method() returns a pointer to the current default | 39 | However, the meaningfulness of this result is dependant on whether the ENGINE |
| 40 | method for the "openssl" engine. | 40 | API is being used, so this function is no longer recommended. |
| 41 | 41 | ||
| 42 | DH_set_method() selects B<engine> as the engine that will be responsible for | 42 | DH_set_method() selects B<meth> to perform all operations using the key B<dh>. |
| 43 | all operations using the structure B<dh>. If this function completes successfully, | 43 | This will replace the DH_METHOD used by the DH key and if the previous method |
| 44 | then the B<dh> structure will have its own functional reference of B<engine>, so | 44 | was supplied by an ENGINE, the handle to that ENGINE will be released during the |
| 45 | the caller should remember to free their own reference to B<engine> when they are | 45 | change. It is possible to have DH keys that only work with certain DH_METHOD |
| 46 | finished with it. NB: An ENGINE's DH_METHOD can be retrieved (or set) by | 46 | implementations (eg. from an ENGINE module that supports embedded |
| 47 | ENGINE_get_DH() or ENGINE_set_DH(). | 47 | hardware-protected keys), and in such cases attempting to change the DH_METHOD |
| 48 | 48 | for the key can have unexpected results. | |
| 49 | DH_new_method() allocates and initializes a DH structure so that | 49 | |
| 50 | B<engine> will be used for the DH operations. If B<engine> is NULL, | 50 | DH_new_method() allocates and initializes a DH structure so that B<engine> will |
| 51 | the default engine for Diffie-Hellman opertaions is used. | 51 | be used for the DH operations. If B<engine> is NULL, the default ENGINE for DH |
| 52 | operations is used, and if no default ENGINE is set, the DH_METHOD controlled by | ||
| 53 | DH_set_default_method() is used. | ||
| 52 | 54 | ||
| 53 | =head1 THE DH_METHOD STRUCTURE | 55 | =head1 THE DH_METHOD STRUCTURE |
| 54 | 56 | ||
| @@ -82,17 +84,28 @@ the default engine for Diffie-Hellman opertaions is used. | |||
| 82 | 84 | ||
| 83 | =head1 RETURN VALUES | 85 | =head1 RETURN VALUES |
| 84 | 86 | ||
| 85 | DH_OpenSSL() and DH_get_default_openssl_method() return pointers to the | 87 | DH_OpenSSL() and DH_get_default_method() return pointers to the respective |
| 86 | respective B<DH_METHOD>s. | 88 | B<DH_METHOD>s. |
| 89 | |||
| 90 | DH_set_default_method() returns no value. | ||
| 91 | |||
| 92 | DH_set_method() returns non-zero if the provided B<meth> was successfully set as | ||
| 93 | the method for B<dh> (including unloading the ENGINE handle if the previous | ||
| 94 | method was supplied by an ENGINE). | ||
| 87 | 95 | ||
| 88 | DH_set_default_openssl_method() returns no value. | 96 | DH_new_method() returns NULL and sets an error code that can be obtained by |
| 97 | L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise it | ||
| 98 | returns a pointer to the newly allocated structure. | ||
| 89 | 99 | ||
| 90 | DH_set_method() returns non-zero if the ENGINE associated with B<dh> | 100 | =head1 NOTES |
| 91 | was successfully changed to B<engine>. | ||
| 92 | 101 | ||
| 93 | DH_new_method() returns NULL and sets an error code that can be | 102 | As of version 0.9.7, DH_METHOD implementations are grouped together with other |
| 94 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. | 103 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a |
| 95 | Otherwise it returns a pointer to the newly allocated structure. | 104 | default ENGINE is specified for DH functionality using an ENGINE API function, |
| 105 | that will override any DH defaults set using the DH API (ie. | ||
| 106 | DH_set_default_method()). For this reason, the ENGINE API is the recommended way | ||
| 107 | to control default implementations for use in DH and other cryptographic | ||
| 108 | algorithms. | ||
| 96 | 109 | ||
| 97 | =head1 SEE ALSO | 110 | =head1 SEE ALSO |
| 98 | 111 | ||
| @@ -103,9 +116,14 @@ L<dh(3)|dh(3)>, L<DH_new(3)|DH_new(3)> | |||
| 103 | DH_set_default_method(), DH_get_default_method(), DH_set_method(), | 116 | DH_set_default_method(), DH_get_default_method(), DH_set_method(), |
| 104 | DH_new_method() and DH_OpenSSL() were added in OpenSSL 0.9.4. | 117 | DH_new_method() and DH_OpenSSL() were added in OpenSSL 0.9.4. |
| 105 | 118 | ||
| 106 | DH_set_default_openssl_method() and DH_get_default_openssl_method() | 119 | DH_set_default_openssl_method() and DH_get_default_openssl_method() replaced |
| 107 | replaced DH_set_default_method() and DH_get_default_method() respectively, | 120 | DH_set_default_method() and DH_get_default_method() respectively, and |
| 108 | and DH_set_method() and DH_new_method() were altered to use B<ENGINE>s | 121 | DH_set_method() and DH_new_method() were altered to use B<ENGINE>s rather than |
| 109 | rather than B<DH_METHOD>s during development of OpenSSL 0.9.6. | 122 | B<DH_METHOD>s during development of the engine version of OpenSSL 0.9.6. For |
| 123 | 0.9.7, the handling of defaults in the ENGINE API was restructured so that this | ||
| 124 | change was reversed, and behaviour of the other functions resembled more closely | ||
| 125 | the previous behaviour. The behaviour of defaults in the ENGINE API now | ||
| 126 | transparently overrides the behaviour of defaults in the DH API without | ||
| 127 | requiring changing these function prototypes. | ||
| 110 | 128 | ||
| 111 | =cut | 129 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/DSA_dup_DH.pod b/src/lib/libssl/src/doc/crypto/DSA_dup_DH.pod index 695f99a13b..7f6f0d1115 100644 --- a/src/lib/libssl/src/doc/crypto/DSA_dup_DH.pod +++ b/src/lib/libssl/src/doc/crypto/DSA_dup_DH.pod | |||
| @@ -8,7 +8,7 @@ DSA_dup_DH - create a DH structure out of DSA structure | |||
| 8 | 8 | ||
| 9 | #include <openssl/dsa.h> | 9 | #include <openssl/dsa.h> |
| 10 | 10 | ||
| 11 | DH * DSA_dup_DH(DSA *r); | 11 | DH * DSA_dup_DH(const DSA *r); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libssl/src/doc/crypto/DSA_new.pod b/src/lib/libssl/src/doc/crypto/DSA_new.pod index 301af912dd..48e9b82a09 100644 --- a/src/lib/libssl/src/doc/crypto/DSA_new.pod +++ b/src/lib/libssl/src/doc/crypto/DSA_new.pod | |||
| @@ -14,7 +14,8 @@ DSA_new, DSA_free - allocate and free DSA objects | |||
| 14 | 14 | ||
| 15 | =head1 DESCRIPTION | 15 | =head1 DESCRIPTION |
| 16 | 16 | ||
| 17 | DSA_new() allocates and initializes a B<DSA> structure. | 17 | DSA_new() allocates and initializes a B<DSA> structure. It is equivalent to |
| 18 | calling DSA_new_method(NULL). | ||
| 18 | 19 | ||
| 19 | DSA_free() frees the B<DSA> structure and its components. The values are | 20 | DSA_free() frees the B<DSA> structure and its components. The values are |
| 20 | erased before the memory is returned to the system. | 21 | erased before the memory is returned to the system. |
diff --git a/src/lib/libssl/src/doc/crypto/DSA_set_method.pod b/src/lib/libssl/src/doc/crypto/DSA_set_method.pod index 36a1052d27..bc3cfb1f0a 100644 --- a/src/lib/libssl/src/doc/crypto/DSA_set_method.pod +++ b/src/lib/libssl/src/doc/crypto/DSA_set_method.pod | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | 2 | ||
| 3 | =head1 NAME | 3 | =head1 NAME |
| 4 | 4 | ||
| 5 | DSA_set_default_openssl_method, DSA_get_default_openssl_method, | 5 | DSA_set_default_method, DSA_get_default_method, |
| 6 | DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | 6 | DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method |
| 7 | 7 | ||
| 8 | =head1 SYNOPSIS | 8 | =head1 SYNOPSIS |
| @@ -10,11 +10,11 @@ DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | |||
| 10 | #include <openssl/dsa.h> | 10 | #include <openssl/dsa.h> |
| 11 | #include <openssl/engine.h> | 11 | #include <openssl/engine.h> |
| 12 | 12 | ||
| 13 | void DSA_set_default_openssl_method(DSA_METHOD *meth); | 13 | void DSA_set_default_method(const DSA_METHOD *meth); |
| 14 | 14 | ||
| 15 | DSA_METHOD *DSA_get_default_openssl_method(void); | 15 | const DSA_METHOD *DSA_get_default_method(void); |
| 16 | 16 | ||
| 17 | int DSA_set_method(DSA *dsa, ENGINE *engine); | 17 | int DSA_set_method(DSA *dsa, const DSA_METHOD *meth); |
| 18 | 18 | ||
| 19 | DSA *DSA_new_method(ENGINE *engine); | 19 | DSA *DSA_new_method(ENGINE *engine); |
| 20 | 20 | ||
| @@ -24,26 +24,35 @@ DSA_set_method, DSA_new_method, DSA_OpenSSL - select DSA method | |||
| 24 | 24 | ||
| 25 | A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA | 25 | A B<DSA_METHOD> specifies the functions that OpenSSL uses for DSA |
| 26 | operations. By modifying the method, alternative implementations | 26 | operations. By modifying the method, alternative implementations |
| 27 | such as hardware accelerators may be used. | 27 | such as hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 28 | 28 | important information about how these DSA API functions are affected by the use | |
| 29 | Initially, the default is to use the OpenSSL internal implementation. | 29 | of B<ENGINE> API calls. |
| 30 | DSA_OpenSSL() returns a pointer to that method. | 30 | |
| 31 | 31 | Initially, the default DSA_METHOD is the OpenSSL internal implementation, | |
| 32 | DSA_set_default_openssl_method() makes B<meth> the default method for | 32 | as returned by DSA_OpenSSL(). |
| 33 | all DSA structures created later. B<NB:> This is true only whilst the | 33 | |
| 34 | default engine for DSA operations remains as "openssl". ENGINEs | 34 | DSA_set_default_method() makes B<meth> the default method for all DSA |
| 35 | provide an encapsulation for implementations of one or more algorithms at a | 35 | structures created later. B<NB>: This is true only whilst no ENGINE has |
| 36 | time, and all the DSA functions mentioned here operate within the scope | 36 | been set as a default for DSA, so this function is no longer recommended. |
| 37 | of the default "openssl" engine. | 37 | |
| 38 | 38 | DSA_get_default_method() returns a pointer to the current default | |
| 39 | DSA_get_default_openssl_method() returns a pointer to the current default | 39 | DSA_METHOD. However, the meaningfulness of this result is dependant on |
| 40 | method for the "openssl" engine. | 40 | whether the ENGINE API is being used, so this function is no longer |
| 41 | 41 | recommended. | |
| 42 | DSA_set_method() selects B<engine> for all operations using the structure B<dsa>. | 42 | |
| 43 | 43 | DSA_set_method() selects B<meth> to perform all operations using the key | |
| 44 | DSA_new_method() allocates and initializes a DSA structure so that | 44 | B<rsa>. This will replace the DSA_METHOD used by the DSA key and if the |
| 45 | B<engine> will be used for the DSA operations. If B<engine> is NULL, | 45 | previous method was supplied by an ENGINE, the handle to that ENGINE will |
| 46 | the default engine for DSA operations is used. | 46 | be released during the change. It is possible to have DSA keys that only |
| 47 | work with certain DSA_METHOD implementations (eg. from an ENGINE module | ||
| 48 | that supports embedded hardware-protected keys), and in such cases | ||
| 49 | attempting to change the DSA_METHOD for the key can have unexpected | ||
| 50 | results. | ||
| 51 | |||
| 52 | DSA_new_method() allocates and initializes a DSA structure so that B<engine> | ||
| 53 | will be used for the DSA operations. If B<engine> is NULL, the default engine | ||
| 54 | for DSA operations is used, and if no default ENGINE is set, the DSA_METHOD | ||
| 55 | controlled by DSA_set_default_method() is used. | ||
| 47 | 56 | ||
| 48 | =head1 THE DSA_METHOD STRUCTURE | 57 | =head1 THE DSA_METHOD STRUCTURE |
| 49 | 58 | ||
| @@ -89,18 +98,29 @@ struct | |||
| 89 | 98 | ||
| 90 | =head1 RETURN VALUES | 99 | =head1 RETURN VALUES |
| 91 | 100 | ||
| 92 | DSA_OpenSSL() and DSA_get_default_openssl_method() return pointers to the | 101 | DSA_OpenSSL() and DSA_get_default_method() return pointers to the respective |
| 93 | respective B<DSA_METHOD>s. | 102 | B<DSA_METHOD>s. |
| 94 | 103 | ||
| 95 | DSA_set_default_openssl_method() returns no value. | 104 | DSA_set_default_method() returns no value. |
| 96 | 105 | ||
| 97 | DSA_set_method() returns non-zero if the ENGINE associated with B<dsa> | 106 | DSA_set_method() returns non-zero if the provided B<meth> was successfully set as |
| 98 | was successfully changed to B<engine>. | 107 | the method for B<dsa> (including unloading the ENGINE handle if the previous |
| 108 | method was supplied by an ENGINE). | ||
| 99 | 109 | ||
| 100 | DSA_new_method() returns NULL and sets an error code that can be | 110 | DSA_new_method() returns NULL and sets an error code that can be |
| 101 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation | 111 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation |
| 102 | fails. Otherwise it returns a pointer to the newly allocated structure. | 112 | fails. Otherwise it returns a pointer to the newly allocated structure. |
| 103 | 113 | ||
| 114 | =head1 NOTES | ||
| 115 | |||
| 116 | As of version 0.9.7, DSA_METHOD implementations are grouped together with other | ||
| 117 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a | ||
| 118 | default ENGINE is specified for DSA functionality using an ENGINE API function, | ||
| 119 | that will override any DSA defaults set using the DSA API (ie. | ||
| 120 | DSA_set_default_method()). For this reason, the ENGINE API is the recommended way | ||
| 121 | to control default implementations for use in DSA and other cryptographic | ||
| 122 | algorithms. | ||
| 123 | |||
| 104 | =head1 SEE ALSO | 124 | =head1 SEE ALSO |
| 105 | 125 | ||
| 106 | L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> | 126 | L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> |
| @@ -110,9 +130,14 @@ L<dsa(3)|dsa(3)>, L<DSA_new(3)|DSA_new(3)> | |||
| 110 | DSA_set_default_method(), DSA_get_default_method(), DSA_set_method(), | 130 | DSA_set_default_method(), DSA_get_default_method(), DSA_set_method(), |
| 111 | DSA_new_method() and DSA_OpenSSL() were added in OpenSSL 0.9.4. | 131 | DSA_new_method() and DSA_OpenSSL() were added in OpenSSL 0.9.4. |
| 112 | 132 | ||
| 113 | DSA_set_default_openssl_method() and DSA_get_default_openssl_method() | 133 | DSA_set_default_openssl_method() and DSA_get_default_openssl_method() replaced |
| 114 | replaced DSA_set_default_method() and DSA_get_default_method() respectively, | 134 | DSA_set_default_method() and DSA_get_default_method() respectively, and |
| 115 | and DSA_set_method() and DSA_new_method() were altered to use B<ENGINE>s | 135 | DSA_set_method() and DSA_new_method() were altered to use B<ENGINE>s rather than |
| 116 | rather than B<DSA_METHOD>s during development of OpenSSL 0.9.6. | 136 | B<DSA_METHOD>s during development of the engine version of OpenSSL 0.9.6. For |
| 137 | 0.9.7, the handling of defaults in the ENGINE API was restructured so that this | ||
| 138 | change was reversed, and behaviour of the other functions resembled more closely | ||
| 139 | the previous behaviour. The behaviour of defaults in the ENGINE API now | ||
| 140 | transparently overrides the behaviour of defaults in the DSA API without | ||
| 141 | requiring changing these function prototypes. | ||
| 117 | 142 | ||
| 118 | =cut | 143 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/DSA_size.pod b/src/lib/libssl/src/doc/crypto/DSA_size.pod index 23b6320a4d..ba4f650361 100644 --- a/src/lib/libssl/src/doc/crypto/DSA_size.pod +++ b/src/lib/libssl/src/doc/crypto/DSA_size.pod | |||
| @@ -8,7 +8,7 @@ DSA_size - get DSA signature size | |||
| 8 | 8 | ||
| 9 | #include <openssl/dsa.h> | 9 | #include <openssl/dsa.h> |
| 10 | 10 | ||
| 11 | int DSA_size(DSA *dsa); | 11 | int DSA_size(const DSA *dsa); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libssl/src/doc/crypto/EVP_SealInit.pod b/src/lib/libssl/src/doc/crypto/EVP_SealInit.pod index 0451eb648a..25ef07f7c7 100644 --- a/src/lib/libssl/src/doc/crypto/EVP_SealInit.pod +++ b/src/lib/libssl/src/doc/crypto/EVP_SealInit.pod | |||
| @@ -73,4 +73,6 @@ L<EVP_OpenInit(3)|EVP_OpenInit(3)> | |||
| 73 | 73 | ||
| 74 | =head1 HISTORY | 74 | =head1 HISTORY |
| 75 | 75 | ||
| 76 | EVP_SealFinal() did not return a value before OpenSSL 0.9.7. | ||
| 77 | |||
| 76 | =cut | 78 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/RAND_set_rand_method.pod b/src/lib/libssl/src/doc/crypto/RAND_set_rand_method.pod index 464eba416d..c9bb6d9f27 100644 --- a/src/lib/libssl/src/doc/crypto/RAND_set_rand_method.pod +++ b/src/lib/libssl/src/doc/crypto/RAND_set_rand_method.pod | |||
| @@ -8,22 +8,30 @@ RAND_set_rand_method, RAND_get_rand_method, RAND_SSLeay - select RAND method | |||
| 8 | 8 | ||
| 9 | #include <openssl/rand.h> | 9 | #include <openssl/rand.h> |
| 10 | 10 | ||
| 11 | void RAND_set_rand_method(RAND_METHOD *meth); | 11 | void RAND_set_rand_method(const RAND_METHOD *meth); |
| 12 | 12 | ||
| 13 | RAND_METHOD *RAND_get_rand_method(void); | 13 | const RAND_METHOD *RAND_get_rand_method(void); |
| 14 | 14 | ||
| 15 | RAND_METHOD *RAND_SSLeay(void); | 15 | RAND_METHOD *RAND_SSLeay(void); |
| 16 | 16 | ||
| 17 | =head1 DESCRIPTION | 17 | =head1 DESCRIPTION |
| 18 | 18 | ||
| 19 | A B<RAND_METHOD> specifies the functions that OpenSSL uses for random | 19 | A B<RAND_METHOD> specifies the functions that OpenSSL uses for random number |
| 20 | number generation. By modifying the method, alternative | 20 | generation. By modifying the method, alternative implementations such as |
| 21 | implementations such as hardware RNGs may be used. Initially, the | 21 | hardware RNGs may be used. IMPORTANT: See the NOTES section for important |
| 22 | default is to use the OpenSSL internal implementation. RAND_SSLeay() | 22 | information about how these RAND API functions are affected by the use of |
| 23 | returns a pointer to that method. | 23 | B<ENGINE> API calls. |
| 24 | 24 | ||
| 25 | RAND_set_rand_method() sets the RAND method to B<meth>. | 25 | Initially, the default RAND_METHOD is the OpenSSL internal implementation, as |
| 26 | RAND_get_rand_method() returns a pointer to the current method. | 26 | returned by RAND_SSLeay(). |
| 27 | |||
| 28 | RAND_set_default_method() makes B<meth> the method for PRNG use. B<NB>: This is | ||
| 29 | true only whilst no ENGINE has been set as a default for RAND, so this function | ||
| 30 | is no longer recommended. | ||
| 31 | |||
| 32 | RAND_get_default_method() returns a pointer to the current RAND_METHOD. | ||
| 33 | However, the meaningfulness of this result is dependant on whether the ENGINE | ||
| 34 | API is being used, so this function is no longer recommended. | ||
| 27 | 35 | ||
| 28 | =head1 THE RAND_METHOD STRUCTURE | 36 | =head1 THE RAND_METHOD STRUCTURE |
| 29 | 37 | ||
| @@ -47,13 +55,29 @@ Each component may be NULL if the function is not implemented. | |||
| 47 | RAND_set_rand_method() returns no value. RAND_get_rand_method() and | 55 | RAND_set_rand_method() returns no value. RAND_get_rand_method() and |
| 48 | RAND_SSLeay() return pointers to the respective methods. | 56 | RAND_SSLeay() return pointers to the respective methods. |
| 49 | 57 | ||
| 58 | =head1 NOTES | ||
| 59 | |||
| 60 | As of version 0.9.7, RAND_METHOD implementations are grouped together with other | ||
| 61 | algorithmic APIs (eg. RSA_METHOD, EVP_CIPHER, etc) in B<ENGINE> modules. If a | ||
| 62 | default ENGINE is specified for RAND functionality using an ENGINE API function, | ||
| 63 | that will override any RAND defaults set using the RAND API (ie. | ||
| 64 | RAND_set_rand_method()). For this reason, the ENGINE API is the recommended way | ||
| 65 | to control default implementations for use in RAND and other cryptographic | ||
| 66 | algorithms. | ||
| 67 | |||
| 50 | =head1 SEE ALSO | 68 | =head1 SEE ALSO |
| 51 | 69 | ||
| 52 | L<rand(3)|rand(3)> | 70 | L<rand(3)|rand(3)>, L<engine(3)|engine(3)> |
| 53 | 71 | ||
| 54 | =head1 HISTORY | 72 | =head1 HISTORY |
| 55 | 73 | ||
| 56 | RAND_set_rand_method(), RAND_get_rand_method() and RAND_SSLeay() are | 74 | RAND_set_rand_method(), RAND_get_rand_method() and RAND_SSLeay() are |
| 57 | available in all versions of OpenSSL. | 75 | available in all versions of OpenSSL. |
| 58 | 76 | ||
| 77 | In the engine version of version 0.9.6, RAND_set_rand_method() was altered to | ||
| 78 | take an ENGINE pointer as its argument. As of version 0.9.7, that has been | ||
| 79 | reverted as the ENGINE API transparently overrides RAND defaults if used, | ||
| 80 | otherwise RAND API functions work as before. RAND_set_rand_engine() was also | ||
| 81 | introduced in version 0.9.7. | ||
| 82 | |||
| 59 | =cut | 83 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/RSA_new.pod b/src/lib/libssl/src/doc/crypto/RSA_new.pod index 299047f31f..3d15b92824 100644 --- a/src/lib/libssl/src/doc/crypto/RSA_new.pod +++ b/src/lib/libssl/src/doc/crypto/RSA_new.pod | |||
| @@ -14,7 +14,8 @@ RSA_new, RSA_free - allocate and free RSA objects | |||
| 14 | 14 | ||
| 15 | =head1 DESCRIPTION | 15 | =head1 DESCRIPTION |
| 16 | 16 | ||
| 17 | RSA_new() allocates and initializes an B<RSA> structure. | 17 | RSA_new() allocates and initializes an B<RSA> structure. It is equivalent to |
| 18 | calling RSA_new_method(NULL). | ||
| 18 | 19 | ||
| 19 | RSA_free() frees the B<RSA> structure and its components. The key is | 20 | RSA_free() frees the B<RSA> structure and its components. The key is |
| 20 | erased before the memory is returned to the system. | 21 | erased before the memory is returned to the system. |
| @@ -30,7 +31,8 @@ RSA_free() returns no value. | |||
| 30 | =head1 SEE ALSO | 31 | =head1 SEE ALSO |
| 31 | 32 | ||
| 32 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, | 33 | L<ERR_get_error(3)|ERR_get_error(3)>, L<rsa(3)|rsa(3)>, |
| 33 | L<RSA_generate_key(3)|RSA_generate_key(3)> | 34 | L<RSA_generate_key(3)|RSA_generate_key(3)>, |
| 35 | L<RSA_new_method(3)|RSA_new_method(3)> | ||
| 34 | 36 | ||
| 35 | =head1 HISTORY | 37 | =head1 HISTORY |
| 36 | 38 | ||
diff --git a/src/lib/libssl/src/doc/crypto/RSA_set_method.pod b/src/lib/libssl/src/doc/crypto/RSA_set_method.pod index 14917dd35f..0687c2242a 100644 --- a/src/lib/libssl/src/doc/crypto/RSA_set_method.pod +++ b/src/lib/libssl/src/doc/crypto/RSA_set_method.pod | |||
| @@ -11,52 +11,64 @@ RSA_null_method, RSA_flags, RSA_new_method - select RSA method | |||
| 11 | #include <openssl/rsa.h> | 11 | #include <openssl/rsa.h> |
| 12 | #include <openssl/engine.h> | 12 | #include <openssl/engine.h> |
| 13 | 13 | ||
| 14 | void RSA_set_default_openssl_method(RSA_METHOD *meth); | 14 | void RSA_set_default_method(const RSA_METHOD *meth); |
| 15 | 15 | ||
| 16 | RSA_METHOD *RSA_get_default_openssl_method(void); | 16 | RSA_METHOD *RSA_get_default_method(void); |
| 17 | 17 | ||
| 18 | int RSA_set_method(RSA *rsa, ENGINE *engine); | 18 | int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); |
| 19 | 19 | ||
| 20 | RSA_METHOD *RSA_get_method(RSA *rsa); | 20 | RSA_METHOD *RSA_get_method(const RSA *rsa); |
| 21 | 21 | ||
| 22 | RSA_METHOD *RSA_PKCS1_SSLeay(void); | 22 | RSA_METHOD *RSA_PKCS1_SSLeay(void); |
| 23 | 23 | ||
| 24 | RSA_METHOD *RSA_null_method(void); | 24 | RSA_METHOD *RSA_null_method(void); |
| 25 | 25 | ||
| 26 | int RSA_flags(RSA *rsa); | 26 | int RSA_flags(const RSA *rsa); |
| 27 | 27 | ||
| 28 | RSA *RSA_new_method(ENGINE *engine); | 28 | RSA *RSA_new_method(ENGINE *engine); |
| 29 | 29 | ||
| 30 | =head1 DESCRIPTION | 30 | =head1 DESCRIPTION |
| 31 | 31 | ||
| 32 | An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA | 32 | An B<RSA_METHOD> specifies the functions that OpenSSL uses for RSA |
| 33 | operations. By modifying the method, alternative implementations | 33 | operations. By modifying the method, alternative implementations such as |
| 34 | such as hardware accelerators may be used. | 34 | hardware accelerators may be used. IMPORTANT: See the NOTES section for |
| 35 | 35 | important information about how these RSA API functions are affected by the | |
| 36 | Initially, the default is to use the OpenSSL internal implementation. | 36 | use of B<ENGINE> API calls. |
| 37 | RSA_PKCS1_SSLeay() returns a pointer to that method. | 37 | |
| 38 | 38 | Initially, the default RSA_METHOD is the OpenSSL internal implementation, | |
| 39 | RSA_set_default_openssl_method() makes B<meth> the default method for all B<RSA> | 39 | as returned by RSA_PKCS1_SSLeay(). |
| 40 | structures created later. B<NB:> This is true only whilst the default engine | 40 | |
| 41 | for RSA operations remains as "openssl". ENGINEs provide an | 41 | RSA_set_default_method() makes B<meth> the default method for all RSA |
| 42 | encapsulation for implementations of one or more algorithms at a time, and all | 42 | structures created later. B<NB>: This is true only whilst no ENGINE has |
| 43 | the RSA functions mentioned here operate within the scope of the default | 43 | been set as a default for RSA, so this function is no longer recommended. |
| 44 | "openssl" engine. | 44 | |
| 45 | 45 | RSA_get_default_method() returns a pointer to the current default | |
| 46 | RSA_get_default_openssl_method() returns a pointer to the current default | 46 | RSA_METHOD. However, the meaningfulness of this result is dependant on |
| 47 | method for the "openssl" engine. | 47 | whether the ENGINE API is being used, so this function is no longer |
| 48 | 48 | recommended. | |
| 49 | RSA_set_method() selects B<engine> for all operations using the key | 49 | |
| 50 | B<rsa>. | 50 | RSA_set_method() selects B<meth> to perform all operations using the key |
| 51 | 51 | B<rsa>. This will replace the RSA_METHOD used by the RSA key and if the | |
| 52 | RSA_get_method() returns a pointer to the RSA_METHOD from the currently | 52 | previous method was supplied by an ENGINE, the handle to that ENGINE will |
| 53 | selected ENGINE for B<rsa>. | 53 | be released during the change. It is possible to have RSA keys that only |
| 54 | 54 | work with certain RSA_METHOD implementations (eg. from an ENGINE module | |
| 55 | RSA_flags() returns the B<flags> that are set for B<rsa>'s current method. | 55 | that supports embedded hardware-protected keys), and in such cases |
| 56 | attempting to change the RSA_METHOD for the key can have unexpected | ||
| 57 | results. | ||
| 58 | |||
| 59 | RSA_get_method() returns a pointer to the RSA_METHOD being used by B<rsa>. | ||
| 60 | This method may or may not be supplied by an ENGINE implementation, but if | ||
| 61 | it is, the return value can only be guaranteed to be valid as long as the | ||
| 62 | RSA key itself is valid and does not have its implementation changed by | ||
| 63 | RSA_set_method(). | ||
| 64 | |||
| 65 | RSA_flags() returns the B<flags> that are set for B<rsa>'s current | ||
| 66 | RSA_METHOD. See the BUGS section. | ||
| 56 | 67 | ||
| 57 | RSA_new_method() allocates and initializes an RSA structure so that | 68 | RSA_new_method() allocates and initializes an RSA structure so that |
| 58 | B<engine> will be used for the RSA operations. If B<engine> is NULL, | 69 | B<engine> will be used for the RSA operations. If B<engine> is NULL, the |
| 59 | the default engine for RSA operations is used. | 70 | default ENGINE for RSA operations is used, and if no default ENGINE is set, |
| 71 | the RSA_METHOD controlled by RSA_set_default_method() is used. | ||
| 60 | 72 | ||
| 61 | =head1 THE RSA_METHOD STRUCTURE | 73 | =head1 THE RSA_METHOD STRUCTURE |
| 62 | 74 | ||
| @@ -121,22 +133,45 @@ the default engine for RSA operations is used. | |||
| 121 | 133 | ||
| 122 | =head1 RETURN VALUES | 134 | =head1 RETURN VALUES |
| 123 | 135 | ||
| 124 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_openssl_method() | 136 | RSA_PKCS1_SSLeay(), RSA_PKCS1_null_method(), RSA_get_default_method() |
| 125 | and RSA_get_method() return pointers to the respective RSA_METHODs. | 137 | and RSA_get_method() return pointers to the respective RSA_METHODs. |
| 126 | 138 | ||
| 127 | RSA_set_default_openssl_method() returns no value. | 139 | RSA_set_default_method() returns no value. |
| 128 | 140 | ||
| 129 | RSA_set_method() selects B<engine> as the engine that will be responsible for | 141 | RSA_set_method() returns a pointer to the old RSA_METHOD implementation |
| 130 | all operations using the structure B<rsa>. If this function completes successfully, | 142 | that was replaced. However, this return value should probably be ignored |
| 131 | then the B<rsa> structure will have its own functional reference of B<engine>, so | 143 | because if it was supplied by an ENGINE, the pointer could be invalidated |
| 132 | the caller should remember to free their own reference to B<engine> when they are | 144 | at any time if the ENGINE is unloaded (in fact it could be unloaded as a |
| 133 | finished with it. NB: An ENGINE's RSA_METHOD can be retrieved (or set) by | 145 | result of the RSA_set_method() function releasing its handle to the |
| 134 | ENGINE_get_RSA() or ENGINE_set_RSA(). | 146 | ENGINE). For this reason, the return type may be replaced with a B<void> |
| 147 | declaration in a future release. | ||
| 135 | 148 | ||
| 136 | RSA_new_method() returns NULL and sets an error code that can be | 149 | RSA_new_method() returns NULL and sets an error code that can be obtained |
| 137 | obtained by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise | 150 | by L<ERR_get_error(3)|ERR_get_error(3)> if the allocation fails. Otherwise |
| 138 | it returns a pointer to the newly allocated structure. | 151 | it returns a pointer to the newly allocated structure. |
| 139 | 152 | ||
| 153 | =head1 NOTES | ||
| 154 | |||
| 155 | As of version 0.9.7, RSA_METHOD implementations are grouped together with | ||
| 156 | other algorithmic APIs (eg. DSA_METHOD, EVP_CIPHER, etc) into B<ENGINE> | ||
| 157 | modules. If a default ENGINE is specified for RSA functionality using an | ||
| 158 | ENGINE API function, that will override any RSA defaults set using the RSA | ||
| 159 | API (ie. RSA_set_default_method()). For this reason, the ENGINE API is the | ||
| 160 | recommended way to control default implementations for use in RSA and other | ||
| 161 | cryptographic algorithms. | ||
| 162 | |||
| 163 | =head1 BUGS | ||
| 164 | |||
| 165 | The behaviour of RSA_flags() is a mis-feature that is left as-is for now | ||
| 166 | to avoid creating compatibility problems. RSA functionality, such as the | ||
| 167 | encryption functions, are controlled by the B<flags> value in the RSA key | ||
| 168 | itself, not by the B<flags> value in the RSA_METHOD attached to the RSA key | ||
| 169 | (which is what this function returns). If the flags element of an RSA key | ||
| 170 | is changed, the changes will be honoured by RSA functionality but will not | ||
| 171 | be reflected in the return value of the RSA_flags() function - in effect | ||
| 172 | RSA_flags() behaves more like an RSA_default_flags() function (which does | ||
| 173 | not currently exist). | ||
| 174 | |||
| 140 | =head1 SEE ALSO | 175 | =head1 SEE ALSO |
| 141 | 176 | ||
| 142 | L<rsa(3)|rsa(3)>, L<RSA_new(3)|RSA_new(3)> | 177 | L<rsa(3)|rsa(3)>, L<RSA_new(3)|RSA_new(3)> |
| @@ -149,8 +184,14 @@ well as the rsa_sign and rsa_verify components of RSA_METHOD were | |||
| 149 | added in OpenSSL 0.9.4. | 184 | added in OpenSSL 0.9.4. |
| 150 | 185 | ||
| 151 | RSA_set_default_openssl_method() and RSA_get_default_openssl_method() | 186 | RSA_set_default_openssl_method() and RSA_get_default_openssl_method() |
| 152 | replaced RSA_set_default_method() and RSA_get_default_method() respectively, | 187 | replaced RSA_set_default_method() and RSA_get_default_method() |
| 153 | and RSA_set_method() and RSA_new_method() were altered to use B<ENGINE>s | 188 | respectively, and RSA_set_method() and RSA_new_method() were altered to use |
| 154 | rather than B<RSA_METHOD>s during development of OpenSSL 0.9.6. | 189 | B<ENGINE>s rather than B<RSA_METHOD>s during development of the engine |
| 190 | version of OpenSSL 0.9.6. For 0.9.7, the handling of defaults in the ENGINE | ||
| 191 | API was restructured so that this change was reversed, and behaviour of the | ||
| 192 | other functions resembled more closely the previous behaviour. The | ||
| 193 | behaviour of defaults in the ENGINE API now transparently overrides the | ||
| 194 | behaviour of defaults in the RSA API without requiring changing these | ||
| 195 | function prototypes. | ||
| 155 | 196 | ||
| 156 | =cut | 197 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/RSA_size.pod b/src/lib/libssl/src/doc/crypto/RSA_size.pod index b36b4d58d5..5b7f835f95 100644 --- a/src/lib/libssl/src/doc/crypto/RSA_size.pod +++ b/src/lib/libssl/src/doc/crypto/RSA_size.pod | |||
| @@ -8,7 +8,7 @@ RSA_size - get RSA modulus size | |||
| 8 | 8 | ||
| 9 | #include <openssl/rsa.h> | 9 | #include <openssl/rsa.h> |
| 10 | 10 | ||
| 11 | int RSA_size(RSA *rsa); | 11 | int RSA_size(const RSA *rsa); |
| 12 | 12 | ||
| 13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
| 14 | 14 | ||
diff --git a/src/lib/libssl/src/doc/crypto/dh.pod b/src/lib/libssl/src/doc/crypto/dh.pod index b4be4be405..c3ccd06207 100644 --- a/src/lib/libssl/src/doc/crypto/dh.pod +++ b/src/lib/libssl/src/doc/crypto/dh.pod | |||
| @@ -12,20 +12,20 @@ dh - Diffie-Hellman key agreement | |||
| 12 | DH * DH_new(void); | 12 | DH * DH_new(void); |
| 13 | void DH_free(DH *dh); | 13 | void DH_free(DH *dh); |
| 14 | 14 | ||
| 15 | int DH_size(DH *dh); | 15 | int DH_size(const DH *dh); |
| 16 | 16 | ||
| 17 | DH * DH_generate_parameters(int prime_len, int generator, | 17 | DH * DH_generate_parameters(int prime_len, int generator, |
| 18 | void (*callback)(int, int, void *), void *cb_arg); | 18 | void (*callback)(int, int, void *), void *cb_arg); |
| 19 | int DH_check(DH *dh, int *codes); | 19 | int DH_check(const DH *dh, int *codes); |
| 20 | 20 | ||
| 21 | int DH_generate_key(DH *dh); | 21 | int DH_generate_key(DH *dh); |
| 22 | int DH_compute_key(unsigned char *key, BIGNUM *pub_key, DH *dh); | 22 | int DH_compute_key(unsigned char *key, BIGNUM *pub_key, DH *dh); |
| 23 | 23 | ||
| 24 | void DH_set_default_openssl_method(DH_METHOD *meth); | 24 | void DH_set_default_method(const DH_METHOD *meth); |
| 25 | DH_METHOD *DH_get_default_openssl_method(void); | 25 | const DH_METHOD *DH_get_default_method(void); |
| 26 | int DH_set_method(DH *dh, ENGINE *engine); | 26 | int DH_set_method(DH *dh, const DH_METHOD *meth); |
| 27 | DH *DH_new_method(ENGINE *engine); | 27 | DH *DH_new_method(ENGINE *engine); |
| 28 | DH_METHOD *DH_OpenSSL(void); | 28 | const DH_METHOD *DH_OpenSSL(void); |
| 29 | 29 | ||
| 30 | int DH_get_ex_new_index(long argl, char *argp, int (*new_func)(), | 30 | int DH_get_ex_new_index(long argl, char *argp, int (*new_func)(), |
| 31 | int (*dup_func)(), void (*free_func)()); | 31 | int (*dup_func)(), void (*free_func)()); |
| @@ -33,10 +33,10 @@ dh - Diffie-Hellman key agreement | |||
| 33 | char *DH_get_ex_data(DH *d, int idx); | 33 | char *DH_get_ex_data(DH *d, int idx); |
| 34 | 34 | ||
| 35 | DH * d2i_DHparams(DH **a, unsigned char **pp, long length); | 35 | DH * d2i_DHparams(DH **a, unsigned char **pp, long length); |
| 36 | int i2d_DHparams(DH *a, unsigned char **pp); | 36 | int i2d_DHparams(const DH *a, unsigned char **pp); |
| 37 | 37 | ||
| 38 | int DHparams_print_fp(FILE *fp, DH *x); | 38 | int DHparams_print_fp(FILE *fp, const DH *x); |
| 39 | int DHparams_print(BIO *bp, DH *x); | 39 | int DHparams_print(BIO *bp, const DH *x); |
| 40 | 40 | ||
| 41 | =head1 DESCRIPTION | 41 | =head1 DESCRIPTION |
| 42 | 42 | ||
| @@ -57,11 +57,20 @@ The B<DH> structure consists of several BIGNUM components. | |||
| 57 | }; | 57 | }; |
| 58 | DH | 58 | DH |
| 59 | 59 | ||
| 60 | Note that DH keys may use non-standard B<DH_METHOD> implementations, | ||
| 61 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 62 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 63 | will not be used by the implementation or may be used for alternative data | ||
| 64 | storage. For this reason, applications should generally avoid using DH | ||
| 65 | structure elements directly and instead use API functions to query or | ||
| 66 | modify keys. | ||
| 67 | |||
| 60 | =head1 SEE ALSO | 68 | =head1 SEE ALSO |
| 61 | 69 | ||
| 62 | L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<err(3)|err(3)>, | 70 | L<dhparam(1)|dhparam(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<err(3)|err(3)>, |
| 63 | L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<DH_set_method(3)|DH_set_method(3)>, | 71 | L<rand(3)|rand(3)>, L<rsa(3)|rsa(3)>, L<engine(3)|engine(3)>, |
| 64 | L<DH_new(3)|DH_new(3)>, L<DH_get_ex_new_index(3)|DH_get_ex_new_index(3)>, | 72 | L<DH_set_method(3)|DH_set_method(3)>, L<DH_new(3)|DH_new(3)>, |
| 73 | L<DH_get_ex_new_index(3)|DH_get_ex_new_index(3)>, | ||
| 65 | L<DH_generate_parameters(3)|DH_generate_parameters(3)>, | 74 | L<DH_generate_parameters(3)|DH_generate_parameters(3)>, |
| 66 | L<DH_compute_key(3)|DH_compute_key(3)>, L<d2i_DHparams(3)|d2i_DHparams(3)>, | 75 | L<DH_compute_key(3)|DH_compute_key(3)>, L<d2i_DHparams(3)|d2i_DHparams(3)>, |
| 67 | L<RSA_print(3)|RSA_print(3)> | 76 | L<RSA_print(3)|RSA_print(3)> |
diff --git a/src/lib/libssl/src/doc/crypto/dsa.pod b/src/lib/libssl/src/doc/crypto/dsa.pod index 573500204b..ae2e5d81f9 100644 --- a/src/lib/libssl/src/doc/crypto/dsa.pod +++ b/src/lib/libssl/src/doc/crypto/dsa.pod | |||
| @@ -12,13 +12,13 @@ dsa - Digital Signature Algorithm | |||
| 12 | DSA * DSA_new(void); | 12 | DSA * DSA_new(void); |
| 13 | void DSA_free(DSA *dsa); | 13 | void DSA_free(DSA *dsa); |
| 14 | 14 | ||
| 15 | int DSA_size(DSA *dsa); | 15 | int DSA_size(const DSA *dsa); |
| 16 | 16 | ||
| 17 | DSA * DSA_generate_parameters(int bits, unsigned char *seed, | 17 | DSA * DSA_generate_parameters(int bits, unsigned char *seed, |
| 18 | int seed_len, int *counter_ret, unsigned long *h_ret, | 18 | int seed_len, int *counter_ret, unsigned long *h_ret, |
| 19 | void (*callback)(int, int, void *), void *cb_arg); | 19 | void (*callback)(int, int, void *), void *cb_arg); |
| 20 | 20 | ||
| 21 | DH * DSA_dup_DH(DSA *r); | 21 | DH * DSA_dup_DH(const DSA *r); |
| 22 | 22 | ||
| 23 | int DSA_generate_key(DSA *dsa); | 23 | int DSA_generate_key(DSA *dsa); |
| 24 | 24 | ||
| @@ -27,13 +27,13 @@ dsa - Digital Signature Algorithm | |||
| 27 | int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp, | 27 | int DSA_sign_setup(DSA *dsa, BN_CTX *ctx, BIGNUM **kinvp, |
| 28 | BIGNUM **rp); | 28 | BIGNUM **rp); |
| 29 | int DSA_verify(int dummy, const unsigned char *dgst, int len, | 29 | int DSA_verify(int dummy, const unsigned char *dgst, int len, |
| 30 | unsigned char *sigbuf, int siglen, DSA *dsa); | 30 | const unsigned char *sigbuf, int siglen, DSA *dsa); |
| 31 | 31 | ||
| 32 | void DSA_set_default_openssl_method(DSA_METHOD *meth); | 32 | void DSA_set_default_method(const DSA_METHOD *meth); |
| 33 | DSA_METHOD *DSA_get_default_openssl_method(void); | 33 | const DSA_METHOD *DSA_get_default_method(void); |
| 34 | int DSA_set_method(DSA *dsa, ENGINE *engine); | 34 | int DSA_set_method(DSA *dsa, const DSA_METHOD *meth); |
| 35 | DSA *DSA_new_method(ENGINE *engine); | 35 | DSA *DSA_new_method(ENGINE *engine); |
| 36 | DSA_METHOD *DSA_OpenSSL(void); | 36 | const DSA_METHOD *DSA_OpenSSL(void); |
| 37 | 37 | ||
| 38 | int DSA_get_ex_new_index(long argl, char *argp, int (*new_func)(), | 38 | int DSA_get_ex_new_index(long argl, char *argp, int (*new_func)(), |
| 39 | int (*dup_func)(), void (*free_func)()); | 39 | int (*dup_func)(), void (*free_func)()); |
| @@ -42,7 +42,7 @@ dsa - Digital Signature Algorithm | |||
| 42 | 42 | ||
| 43 | DSA_SIG *DSA_SIG_new(void); | 43 | DSA_SIG *DSA_SIG_new(void); |
| 44 | void DSA_SIG_free(DSA_SIG *a); | 44 | void DSA_SIG_free(DSA_SIG *a); |
| 45 | int i2d_DSA_SIG(DSA_SIG *a, unsigned char **pp); | 45 | int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); |
| 46 | DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, unsigned char **pp, long length); | 46 | DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, unsigned char **pp, long length); |
| 47 | 47 | ||
| 48 | DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); | 48 | DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); |
| @@ -52,14 +52,14 @@ dsa - Digital Signature Algorithm | |||
| 52 | DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); | 52 | DSA * d2i_DSAPublicKey(DSA **a, unsigned char **pp, long length); |
| 53 | DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); | 53 | DSA * d2i_DSAPrivateKey(DSA **a, unsigned char **pp, long length); |
| 54 | DSA * d2i_DSAparams(DSA **a, unsigned char **pp, long length); | 54 | DSA * d2i_DSAparams(DSA **a, unsigned char **pp, long length); |
| 55 | int i2d_DSAPublicKey(DSA *a, unsigned char **pp); | 55 | int i2d_DSAPublicKey(const DSA *a, unsigned char **pp); |
| 56 | int i2d_DSAPrivateKey(DSA *a, unsigned char **pp); | 56 | int i2d_DSAPrivateKey(const DSA *a, unsigned char **pp); |
| 57 | int i2d_DSAparams(DSA *a,unsigned char **pp); | 57 | int i2d_DSAparams(const DSA *a,unsigned char **pp); |
| 58 | 58 | ||
| 59 | int DSAparams_print(BIO *bp, DSA *x); | 59 | int DSAparams_print(BIO *bp, const DSA *x); |
| 60 | int DSAparams_print_fp(FILE *fp, DSA *x); | 60 | int DSAparams_print_fp(FILE *fp, const DSA *x); |
| 61 | int DSA_print(BIO *bp, DSA *x, int off); | 61 | int DSA_print(BIO *bp, const DSA *x, int off); |
| 62 | int DSA_print_fp(FILE *bp, DSA *x, int off); | 62 | int DSA_print_fp(FILE *bp, const DSA *x, int off); |
| 63 | 63 | ||
| 64 | =head1 DESCRIPTION | 64 | =head1 DESCRIPTION |
| 65 | 65 | ||
| @@ -85,6 +85,14 @@ The B<DSA> structure consists of several BIGNUM components. | |||
| 85 | 85 | ||
| 86 | In public keys, B<priv_key> is NULL. | 86 | In public keys, B<priv_key> is NULL. |
| 87 | 87 | ||
| 88 | Note that DSA keys may use non-standard B<DSA_METHOD> implementations, | ||
| 89 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 90 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 91 | will not be used by the implementation or may be used for alternative data | ||
| 92 | storage. For this reason, applications should generally avoid using DSA | ||
| 93 | structure elements directly and instead use API functions to query or | ||
| 94 | modify keys. | ||
| 95 | |||
| 88 | =head1 CONFORMING TO | 96 | =head1 CONFORMING TO |
| 89 | 97 | ||
| 90 | US Federal Information Processing Standard FIPS 186 (Digital Signature | 98 | US Federal Information Processing Standard FIPS 186 (Digital Signature |
diff --git a/src/lib/libssl/src/doc/crypto/evp.pod b/src/lib/libssl/src/doc/crypto/evp.pod index edf47dbde6..b3ca14314f 100644 --- a/src/lib/libssl/src/doc/crypto/evp.pod +++ b/src/lib/libssl/src/doc/crypto/evp.pod | |||
| @@ -24,6 +24,13 @@ functions. The B<EVP_Digest>I<...> functions provide message digests. | |||
| 24 | 24 | ||
| 25 | Algorithms are loaded with OpenSSL_add_all_algorithms(3). | 25 | Algorithms are loaded with OpenSSL_add_all_algorithms(3). |
| 26 | 26 | ||
| 27 | All the symmetric algorithms (ciphers) and digests can be replaced by ENGINE | ||
| 28 | modules providing alternative implementations. If ENGINE implementations of | ||
| 29 | ciphers or digests are registered as defaults, then the various EVP functions | ||
| 30 | will automatically use those implementations automatically in preference to | ||
| 31 | built in software implementations. For more information, consult the engine(3) | ||
| 32 | man page. | ||
| 33 | |||
| 27 | =head1 SEE ALSO | 34 | =head1 SEE ALSO |
| 28 | 35 | ||
| 29 | L<EVP_DigestInit(3)|EVP_DigestInit(3)>, | 36 | L<EVP_DigestInit(3)|EVP_DigestInit(3)>, |
| @@ -32,6 +39,7 @@ L<EVP_OpenInit(3)|EVP_OpenInit(3)>, | |||
| 32 | L<EVP_SealInit(3)|EVP_SealInit(3)>, | 39 | L<EVP_SealInit(3)|EVP_SealInit(3)>, |
| 33 | L<EVP_SignInit(3)|EVP_SignInit(3)>, | 40 | L<EVP_SignInit(3)|EVP_SignInit(3)>, |
| 34 | L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>, | 41 | L<EVP_VerifyInit(3)|EVP_VerifyInit(3)>, |
| 35 | L<OpenSSL_add_all_algorithms(3)|OpenSSL_add_all_algorithms(3)> | 42 | L<OpenSSL_add_all_algorithms(3)|OpenSSL_add_all_algorithms(3)>, |
| 43 | L<engine(3)|engine(3)> | ||
| 36 | 44 | ||
| 37 | =cut | 45 | =cut |
diff --git a/src/lib/libssl/src/doc/crypto/rand.pod b/src/lib/libssl/src/doc/crypto/rand.pod index 96901f109e..1c068c85b3 100644 --- a/src/lib/libssl/src/doc/crypto/rand.pod +++ b/src/lib/libssl/src/doc/crypto/rand.pod | |||
| @@ -8,13 +8,14 @@ rand - pseudo-random number generator | |||
| 8 | 8 | ||
| 9 | #include <openssl/rand.h> | 9 | #include <openssl/rand.h> |
| 10 | 10 | ||
| 11 | int RAND_set_rand_engine(ENGINE *engine); | ||
| 12 | |||
| 11 | int RAND_bytes(unsigned char *buf, int num); | 13 | int RAND_bytes(unsigned char *buf, int num); |
| 12 | int RAND_pseudo_bytes(unsigned char *buf, int num); | 14 | int RAND_pseudo_bytes(unsigned char *buf, int num); |
| 13 | 15 | ||
| 14 | void RAND_seed(const void *buf, int num); | 16 | void RAND_seed(const void *buf, int num); |
| 15 | void RAND_add(const void *buf, int num, int entropy); | 17 | void RAND_add(const void *buf, int num, int entropy); |
| 16 | int RAND_status(void); | 18 | int RAND_status(void); |
| 17 | void RAND_screen(void); | ||
| 18 | 19 | ||
| 19 | int RAND_load_file(const char *file, long max_bytes); | 20 | int RAND_load_file(const char *file, long max_bytes); |
| 20 | int RAND_write_file(const char *file); | 21 | int RAND_write_file(const char *file); |
| @@ -22,14 +23,31 @@ rand - pseudo-random number generator | |||
| 22 | 23 | ||
| 23 | int RAND_egd(const char *path); | 24 | int RAND_egd(const char *path); |
| 24 | 25 | ||
| 25 | void RAND_set_rand_method(RAND_METHOD *meth); | 26 | void RAND_set_rand_method(const RAND_METHOD *meth); |
| 26 | RAND_METHOD *RAND_get_rand_method(void); | 27 | const RAND_METHOD *RAND_get_rand_method(void); |
| 27 | RAND_METHOD *RAND_SSLeay(void); | 28 | RAND_METHOD *RAND_SSLeay(void); |
| 28 | 29 | ||
| 29 | void RAND_cleanup(void); | 30 | void RAND_cleanup(void); |
| 30 | 31 | ||
| 32 | /* For Win32 only */ | ||
| 33 | void RAND_screen(void); | ||
| 34 | int RAND_event(UINT, WPARAM, LPARAM); | ||
| 35 | |||
| 31 | =head1 DESCRIPTION | 36 | =head1 DESCRIPTION |
| 32 | 37 | ||
| 38 | Since the introduction of the ENGINE API, the recommended way of controlling | ||
| 39 | default implementations is by using the ENGINE API functions. The default | ||
| 40 | B<RAND_METHOD>, as set by RAND_set_rand_method() and returned by | ||
| 41 | RAND_get_rand_method(), is only used if no ENGINE has been set as the default | ||
| 42 | "rand" implementation. Hence, these two functions are no longer the recommened | ||
| 43 | way to control defaults. | ||
| 44 | |||
| 45 | If an alternative B<RAND_METHOD> implementation is being used (either set | ||
| 46 | directly or as provided by an ENGINE module), then it is entirely responsible | ||
| 47 | for the generation and management of a cryptographically secure PRNG stream. The | ||
| 48 | mechanisms described below relate solely to the software PRNG implementation | ||
| 49 | built in to OpenSSL and used by default. | ||
| 50 | |||
| 33 | These functions implement a cryptographically secure pseudo-random | 51 | These functions implement a cryptographically secure pseudo-random |
| 34 | number generator (PRNG). It is used by other library functions for | 52 | number generator (PRNG). It is used by other library functions for |
| 35 | example to generate random keys, and applications can use it when they | 53 | example to generate random keys, and applications can use it when they |
diff --git a/src/lib/libssl/src/doc/crypto/rsa.pod b/src/lib/libssl/src/doc/crypto/rsa.pod index 2b93a12b65..45ac53ffc1 100644 --- a/src/lib/libssl/src/doc/crypto/rsa.pod +++ b/src/lib/libssl/src/doc/crypto/rsa.pod | |||
| @@ -16,13 +16,17 @@ rsa - RSA public key cryptosystem | |||
| 16 | unsigned char *to, RSA *rsa, int padding); | 16 | unsigned char *to, RSA *rsa, int padding); |
| 17 | int RSA_private_decrypt(int flen, unsigned char *from, | 17 | int RSA_private_decrypt(int flen, unsigned char *from, |
| 18 | unsigned char *to, RSA *rsa, int padding); | 18 | unsigned char *to, RSA *rsa, int padding); |
| 19 | int RSA_private_encrypt(int flen, unsigned char *from, | ||
| 20 | unsigned char *to, RSA *rsa,int padding); | ||
| 21 | int RSA_public_decrypt(int flen, unsigned char *from, | ||
| 22 | unsigned char *to, RSA *rsa,int padding); | ||
| 19 | 23 | ||
| 20 | int RSA_sign(int type, unsigned char *m, unsigned int m_len, | 24 | int RSA_sign(int type, unsigned char *m, unsigned int m_len, |
| 21 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); | 25 | unsigned char *sigret, unsigned int *siglen, RSA *rsa); |
| 22 | int RSA_verify(int type, unsigned char *m, unsigned int m_len, | 26 | int RSA_verify(int type, unsigned char *m, unsigned int m_len, |
| 23 | unsigned char *sigbuf, unsigned int siglen, RSA *rsa); | 27 | unsigned char *sigbuf, unsigned int siglen, RSA *rsa); |
| 24 | 28 | ||
| 25 | int RSA_size(RSA *rsa); | 29 | int RSA_size(const RSA *rsa); |
| 26 | 30 | ||
| 27 | RSA *RSA_generate_key(int num, unsigned long e, | 31 | RSA *RSA_generate_key(int num, unsigned long e, |
| 28 | void (*callback)(int,int,void *), void *cb_arg); | 32 | void (*callback)(int,int,void *), void *cb_arg); |
| @@ -32,13 +36,13 @@ rsa - RSA public key cryptosystem | |||
| 32 | int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | 36 | int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); |
| 33 | void RSA_blinding_off(RSA *rsa); | 37 | void RSA_blinding_off(RSA *rsa); |
| 34 | 38 | ||
| 35 | void RSA_set_default_openssl_method(RSA_METHOD *meth); | 39 | void RSA_set_default_method(const RSA_METHOD *meth); |
| 36 | RSA_METHOD *RSA_get_default_openssl_method(void); | 40 | const RSA_METHOD *RSA_get_default_method(void); |
| 37 | int RSA_set_method(RSA *rsa, ENGINE *engine); | 41 | int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); |
| 38 | RSA_METHOD *RSA_get_method(RSA *rsa); | 42 | const RSA_METHOD *RSA_get_method(const RSA *rsa); |
| 39 | RSA_METHOD *RSA_PKCS1_SSLeay(void); | 43 | RSA_METHOD *RSA_PKCS1_SSLeay(void); |
| 40 | RSA_METHOD *RSA_null_method(void); | 44 | RSA_METHOD *RSA_null_method(void); |
| 41 | int RSA_flags(RSA *rsa); | 45 | int RSA_flags(const RSA *rsa); |
| 42 | RSA *RSA_new_method(ENGINE *engine); | 46 | RSA *RSA_new_method(ENGINE *engine); |
| 43 | 47 | ||
| 44 | int RSA_print(BIO *bp, RSA *x, int offset); | 48 | int RSA_print(BIO *bp, RSA *x, int offset); |
| @@ -49,11 +53,6 @@ rsa - RSA public key cryptosystem | |||
| 49 | int RSA_set_ex_data(RSA *r,int idx,char *arg); | 53 | int RSA_set_ex_data(RSA *r,int idx,char *arg); |
| 50 | char *RSA_get_ex_data(RSA *r, int idx); | 54 | char *RSA_get_ex_data(RSA *r, int idx); |
| 51 | 55 | ||
| 52 | int RSA_private_encrypt(int flen, unsigned char *from, | ||
| 53 | unsigned char *to, RSA *rsa,int padding); | ||
| 54 | int RSA_public_decrypt(int flen, unsigned char *from, | ||
| 55 | unsigned char *to, RSA *rsa,int padding); | ||
| 56 | |||
| 57 | int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m, | 56 | int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m, |
| 58 | unsigned int m_len, unsigned char *sigret, unsigned int *siglen, | 57 | unsigned int m_len, unsigned char *sigret, unsigned int *siglen, |
| 59 | RSA *rsa); | 58 | RSA *rsa); |
| @@ -90,6 +89,14 @@ B<p>, B<q>, B<dmp1>, B<dmq1> and B<iqmp> may be B<NULL> in private | |||
| 90 | keys, but the RSA operations are much faster when these values are | 89 | keys, but the RSA operations are much faster when these values are |
| 91 | available. | 90 | available. |
| 92 | 91 | ||
| 92 | Note that RSA keys may use non-standard B<RSA_METHOD> implementations, | ||
| 93 | either directly or by the use of B<ENGINE> modules. In some cases (eg. an | ||
| 94 | ENGINE providing support for hardware-embedded keys), these BIGNUM values | ||
| 95 | will not be used by the implementation or may be used for alternative data | ||
| 96 | storage. For this reason, applications should generally avoid using RSA | ||
| 97 | structure elements directly and instead use API functions to query or | ||
| 98 | modify keys. | ||
| 99 | |||
| 93 | =head1 CONFORMING TO | 100 | =head1 CONFORMING TO |
| 94 | 101 | ||
| 95 | SSL, PKCS #1 v2.0 | 102 | SSL, PKCS #1 v2.0 |
| @@ -101,7 +108,7 @@ RSA was covered by a US patent which expired in September 2000. | |||
| 101 | =head1 SEE ALSO | 108 | =head1 SEE ALSO |
| 102 | 109 | ||
| 103 | L<rsa(1)|rsa(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, | 110 | L<rsa(1)|rsa(1)>, L<bn(3)|bn(3)>, L<dsa(3)|dsa(3)>, L<dh(3)|dh(3)>, |
| 104 | L<rand(3)|rand(3)>, L<RSA_new(3)|RSA_new(3)>, | 111 | L<rand(3)|rand(3)>, L<engine(3)|engine(3)>, L<RSA_new(3)|RSA_new(3)>, |
| 105 | L<RSA_public_encrypt(3)|RSA_public_encrypt(3)>, | 112 | L<RSA_public_encrypt(3)|RSA_public_encrypt(3)>, |
| 106 | L<RSA_sign(3)|RSA_sign(3)>, L<RSA_size(3)|RSA_size(3)>, | 113 | L<RSA_sign(3)|RSA_sign(3)>, L<RSA_size(3)|RSA_size(3)>, |
| 107 | L<RSA_generate_key(3)|RSA_generate_key(3)>, | 114 | L<RSA_generate_key(3)|RSA_generate_key(3)>, |
diff --git a/src/lib/libssl/src/doc/openssl.txt b/src/lib/libssl/src/doc/openssl.txt index 5da519e7e4..432a17b66c 100644 --- a/src/lib/libssl/src/doc/openssl.txt +++ b/src/lib/libssl/src/doc/openssl.txt | |||
| @@ -344,7 +344,7 @@ the extension. | |||
| 344 | 344 | ||
| 345 | Examples: | 345 | Examples: |
| 346 | 346 | ||
| 347 | subjectAltName=email:copy,email:my@other.address,URL:http://my.url.here/ | 347 | subjectAltName=email:copy,email:my@other.address,URI:http://my.url.here/ |
| 348 | subjectAltName=email:my@other.address,RID:1.2.3.4 | 348 | subjectAltName=email:my@other.address,RID:1.2.3.4 |
| 349 | 349 | ||
| 350 | Issuer Alternative Name. | 350 | Issuer Alternative Name. |
diff --git a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_msg_callback.pod b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_msg_callback.pod index a423932d0a..0015e6ea79 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_CTX_set_msg_callback.pod +++ b/src/lib/libssl/src/doc/ssl/SSL_CTX_set_msg_callback.pod | |||
| @@ -69,6 +69,8 @@ The B<SSL> object that received or sent the message. | |||
| 69 | The user-defined argument optionally defined by | 69 | The user-defined argument optionally defined by |
| 70 | SSL_CTX_set_msg_callback_arg() or SSL_set_msg_callback_arg(). | 70 | SSL_CTX_set_msg_callback_arg() or SSL_set_msg_callback_arg(). |
| 71 | 71 | ||
| 72 | =back | ||
| 73 | |||
| 72 | =head1 NOTES | 74 | =head1 NOTES |
| 73 | 75 | ||
| 74 | Protocol messages are passed to the callback function after decryption | 76 | Protocol messages are passed to the callback function after decryption |
diff --git a/src/lib/libssl/src/ssl/Makefile.ssl b/src/lib/libssl/src/ssl/Makefile.ssl index 3f6288696c..23fcab1a3a 100644 --- a/src/lib/libssl/src/ssl/Makefile.ssl +++ b/src/lib/libssl/src/ssl/Makefile.ssl | |||
| @@ -65,7 +65,7 @@ lib: $(LIBOBJ) | |||
| 65 | 65 | ||
| 66 | shared: | 66 | shared: |
| 67 | if [ -n "$(SHARED_LIBS)" ]; then \ | 67 | if [ -n "$(SHARED_LIBS)" ]; then \ |
| 68 | (cd ..; make $(SHARED_LIB)); \ | 68 | (cd ..; $(MAKE) $(SHARED_LIB)); \ |
| 69 | fi | 69 | fi |
| 70 | 70 | ||
| 71 | files: | 71 | files: |
diff --git a/src/lib/libssl/src/ssl/s2_clnt.c b/src/lib/libssl/src/ssl/s2_clnt.c index a5beeb732e..b4ee0bfc31 100644 --- a/src/lib/libssl/src/ssl/s2_clnt.c +++ b/src/lib/libssl/src/ssl/s2_clnt.c | |||
| @@ -535,7 +535,12 @@ static int get_server_hello(SSL *s) | |||
| 535 | } | 535 | } |
| 536 | 536 | ||
| 537 | s->s2->conn_id_length=s->s2->tmp.conn_id_length; | 537 | s->s2->conn_id_length=s->s2->tmp.conn_id_length; |
| 538 | die(s->s2->conn_id_length <= sizeof s->s2->conn_id); | 538 | if (s->s2->conn_id_length > sizeof s->s2->conn_id) |
| 539 | { | ||
| 540 | ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR); | ||
| 541 | SSLerr(SSL_F_GET_SERVER_HELLO, SSL_R_SSL2_CONNECTION_ID_TOO_LONG); | ||
| 542 | return -1; | ||
| 543 | } | ||
| 539 | memcpy(s->s2->conn_id,p,s->s2->tmp.conn_id_length); | 544 | memcpy(s->s2->conn_id,p,s->s2->tmp.conn_id_length); |
| 540 | return(1); | 545 | return(1); |
| 541 | } | 546 | } |
| @@ -637,7 +642,12 @@ static int client_master_key(SSL *s) | |||
| 637 | /* make key_arg data */ | 642 | /* make key_arg data */ |
| 638 | i=EVP_CIPHER_iv_length(c); | 643 | i=EVP_CIPHER_iv_length(c); |
| 639 | sess->key_arg_length=i; | 644 | sess->key_arg_length=i; |
| 640 | die(i <= SSL_MAX_KEY_ARG_LENGTH); | 645 | if (i > SSL_MAX_KEY_ARG_LENGTH) |
| 646 | { | ||
| 647 | ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR); | ||
| 648 | SSLerr(SSL_F_CLIENT_MASTER_KEY, ERR_R_INTERNAL_ERROR); | ||
| 649 | return -1; | ||
| 650 | } | ||
| 641 | if (i > 0) RAND_pseudo_bytes(sess->key_arg,i); | 651 | if (i > 0) RAND_pseudo_bytes(sess->key_arg,i); |
| 642 | 652 | ||
| 643 | /* make a master key */ | 653 | /* make a master key */ |
| @@ -645,7 +655,12 @@ static int client_master_key(SSL *s) | |||
| 645 | sess->master_key_length=i; | 655 | sess->master_key_length=i; |
| 646 | if (i > 0) | 656 | if (i > 0) |
| 647 | { | 657 | { |
| 648 | die(i <= sizeof sess->master_key); | 658 | if (i > sizeof sess->master_key) |
| 659 | { | ||
| 660 | ssl2_return_error(s, SSL2_PE_UNDEFINED_ERROR); | ||
| 661 | SSLerr(SSL_F_CLIENT_MASTER_KEY, ERR_R_INTERNAL_ERROR); | ||
| 662 | return -1; | ||
| 663 | } | ||
| 649 | if (RAND_bytes(sess->master_key,i) <= 0) | 664 | if (RAND_bytes(sess->master_key,i) <= 0) |
| 650 | { | 665 | { |
| 651 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | 666 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); |
| @@ -689,7 +704,12 @@ static int client_master_key(SSL *s) | |||
| 689 | d+=enc; | 704 | d+=enc; |
| 690 | karg=sess->key_arg_length; | 705 | karg=sess->key_arg_length; |
| 691 | s2n(karg,p); /* key arg size */ | 706 | s2n(karg,p); /* key arg size */ |
| 692 | die(karg <= sizeof sess->key_arg); | 707 | if (karg > sizeof sess->key_arg) |
| 708 | { | ||
| 709 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 710 | SSLerr(SSL_F_CLIENT_MASTER_KEY, ERR_R_INTERNAL_ERROR); | ||
| 711 | return -1; | ||
| 712 | } | ||
| 693 | memcpy(d,sess->key_arg,(unsigned int)karg); | 713 | memcpy(d,sess->key_arg,(unsigned int)karg); |
| 694 | d+=karg; | 714 | d+=karg; |
| 695 | 715 | ||
| @@ -710,7 +730,11 @@ static int client_finished(SSL *s) | |||
| 710 | { | 730 | { |
| 711 | p=(unsigned char *)s->init_buf->data; | 731 | p=(unsigned char *)s->init_buf->data; |
| 712 | *(p++)=SSL2_MT_CLIENT_FINISHED; | 732 | *(p++)=SSL2_MT_CLIENT_FINISHED; |
| 713 | die(s->s2->conn_id_length <= sizeof s->s2->conn_id); | 733 | if (s->s2->conn_id_length > sizeof s->s2->conn_id) |
| 734 | { | ||
| 735 | SSLerr(SSL_F_CLIENT_FINISHED, ERR_R_INTERNAL_ERROR); | ||
| 736 | return -1; | ||
| 737 | } | ||
| 714 | memcpy(p,s->s2->conn_id,(unsigned int)s->s2->conn_id_length); | 738 | memcpy(p,s->s2->conn_id,(unsigned int)s->s2->conn_id_length); |
| 715 | 739 | ||
| 716 | s->state=SSL2_ST_SEND_CLIENT_FINISHED_B; | 740 | s->state=SSL2_ST_SEND_CLIENT_FINISHED_B; |
| @@ -983,10 +1007,9 @@ static int get_server_finished(SSL *s) | |||
| 983 | { | 1007 | { |
| 984 | if (!(s->options & SSL_OP_MICROSOFT_SESS_ID_BUG)) | 1008 | if (!(s->options & SSL_OP_MICROSOFT_SESS_ID_BUG)) |
| 985 | { | 1009 | { |
| 986 | die(s->session->session_id_length | 1010 | if ((s->session->session_id_length > sizeof s->session->session_id) |
| 987 | <= sizeof s->session->session_id); | 1011 | || (0 != memcmp(buf, s->session->session_id, |
| 988 | if (memcmp(buf,s->session->session_id, | 1012 | (unsigned int)s->session->session_id_length))) |
| 989 | (unsigned int)s->session->session_id_length) != 0) | ||
| 990 | { | 1013 | { |
| 991 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | 1014 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); |
| 992 | SSLerr(SSL_F_GET_SERVER_FINISHED,SSL_R_SSL_SESSION_ID_IS_DIFFERENT); | 1015 | SSLerr(SSL_F_GET_SERVER_FINISHED,SSL_R_SSL_SESSION_ID_IS_DIFFERENT); |
diff --git a/src/lib/libssl/src/ssl/s2_enc.c b/src/lib/libssl/src/ssl/s2_enc.c index a28e747d2d..690252e3d3 100644 --- a/src/lib/libssl/src/ssl/s2_enc.c +++ b/src/lib/libssl/src/ssl/s2_enc.c | |||
| @@ -96,7 +96,8 @@ int ssl2_enc_init(SSL *s, int client) | |||
| 96 | num=c->key_len; | 96 | num=c->key_len; |
| 97 | s->s2->key_material_length=num*2; | 97 | s->s2->key_material_length=num*2; |
| 98 | 98 | ||
| 99 | ssl2_generate_key_material(s); | 99 | if (ssl2_generate_key_material(s) <= 0) |
| 100 | return 0; | ||
| 100 | 101 | ||
| 101 | EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]), | 102 | EVP_EncryptInit_ex(ws,c,NULL,&(s->s2->key_material[(client)?num:0]), |
| 102 | s->session->key_arg); | 103 | s->session->key_arg); |
diff --git a/src/lib/libssl/src/ssl/s2_lib.c b/src/lib/libssl/src/ssl/s2_lib.c index 247f4603a6..df2ea875de 100644 --- a/src/lib/libssl/src/ssl/s2_lib.c +++ b/src/lib/libssl/src/ssl/s2_lib.c | |||
| @@ -63,7 +63,6 @@ | |||
| 63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
| 64 | #include <openssl/evp.h> | 64 | #include <openssl/evp.h> |
| 65 | #include <openssl/md5.h> | 65 | #include <openssl/md5.h> |
| 66 | #include "ssl_locl.h" | ||
| 67 | 66 | ||
| 68 | static long ssl2_default_timeout(void ); | 67 | static long ssl2_default_timeout(void ); |
| 69 | const char *ssl2_version_str="SSLv2" OPENSSL_VERSION_PTEXT; | 68 | const char *ssl2_version_str="SSLv2" OPENSSL_VERSION_PTEXT; |
| @@ -418,12 +417,15 @@ int ssl2_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p) | |||
| 418 | return(3); | 417 | return(3); |
| 419 | } | 418 | } |
| 420 | 419 | ||
| 421 | void ssl2_generate_key_material(SSL *s) | 420 | int ssl2_generate_key_material(SSL *s) |
| 422 | { | 421 | { |
| 423 | unsigned int i; | 422 | unsigned int i; |
| 424 | EVP_MD_CTX ctx; | 423 | EVP_MD_CTX ctx; |
| 425 | unsigned char *km; | 424 | unsigned char *km; |
| 426 | unsigned char c='0'; | 425 | unsigned char c='0'; |
| 426 | const EVP_MD *md5; | ||
| 427 | |||
| 428 | md5 = EVP_md5(); | ||
| 427 | 429 | ||
| 428 | #ifdef CHARSET_EBCDIC | 430 | #ifdef CHARSET_EBCDIC |
| 429 | c = os_toascii['0']; /* Must be an ASCII '0', not EBCDIC '0', | 431 | c = os_toascii['0']; /* Must be an ASCII '0', not EBCDIC '0', |
| @@ -431,23 +433,35 @@ void ssl2_generate_key_material(SSL *s) | |||
| 431 | #endif | 433 | #endif |
| 432 | EVP_MD_CTX_init(&ctx); | 434 | EVP_MD_CTX_init(&ctx); |
| 433 | km=s->s2->key_material; | 435 | km=s->s2->key_material; |
| 434 | die(s->s2->key_material_length <= sizeof s->s2->key_material); | 436 | |
| 435 | for (i=0; i<s->s2->key_material_length; i+=MD5_DIGEST_LENGTH) | 437 | if (s->session->master_key_length < 0 || s->session->master_key_length > sizeof s->session->master_key) |
| 438 | { | ||
| 439 | SSLerr(SSL_F_SSL2_GENERATE_KEY_MATERIAL, ERR_R_INTERNAL_ERROR); | ||
| 440 | return 0; | ||
| 441 | } | ||
| 442 | |||
| 443 | for (i=0; i<s->s2->key_material_length; i += EVP_MD_size(md5)) | ||
| 436 | { | 444 | { |
| 437 | EVP_DigestInit_ex(&ctx,EVP_md5(), NULL); | 445 | if (((km - s->s2->key_material) + EVP_MD_size(md5)) > sizeof s->s2->key_material) |
| 446 | { | ||
| 447 | /* EVP_DigestFinal_ex() below would write beyond buffer */ | ||
| 448 | SSLerr(SSL_F_SSL2_GENERATE_KEY_MATERIAL, ERR_R_INTERNAL_ERROR); | ||
| 449 | return 0; | ||
| 450 | } | ||
| 451 | |||
| 452 | EVP_DigestInit_ex(&ctx, md5, NULL); | ||
| 438 | 453 | ||
| 439 | die(s->session->master_key_length >= 0 | ||
| 440 | && s->session->master_key_length | ||
| 441 | < sizeof s->session->master_key); | ||
| 442 | EVP_DigestUpdate(&ctx,s->session->master_key,s->session->master_key_length); | 454 | EVP_DigestUpdate(&ctx,s->session->master_key,s->session->master_key_length); |
| 443 | EVP_DigestUpdate(&ctx,&c,1); | 455 | EVP_DigestUpdate(&ctx,&c,1); |
| 444 | c++; | 456 | c++; |
| 445 | EVP_DigestUpdate(&ctx,s->s2->challenge,s->s2->challenge_length); | 457 | EVP_DigestUpdate(&ctx,s->s2->challenge,s->s2->challenge_length); |
| 446 | EVP_DigestUpdate(&ctx,s->s2->conn_id,s->s2->conn_id_length); | 458 | EVP_DigestUpdate(&ctx,s->s2->conn_id,s->s2->conn_id_length); |
| 447 | EVP_DigestFinal_ex(&ctx,km,NULL); | 459 | EVP_DigestFinal_ex(&ctx,km,NULL); |
| 448 | km+=MD5_DIGEST_LENGTH; | 460 | km += EVP_MD_size(md5); |
| 449 | } | 461 | } |
| 462 | |||
| 450 | EVP_MD_CTX_cleanup(&ctx); | 463 | EVP_MD_CTX_cleanup(&ctx); |
| 464 | return 1; | ||
| 451 | } | 465 | } |
| 452 | 466 | ||
| 453 | void ssl2_return_error(SSL *s, int err) | 467 | void ssl2_return_error(SSL *s, int err) |
| @@ -472,10 +486,14 @@ void ssl2_write_error(SSL *s) | |||
| 472 | buf[2]=(s->error_code)&0xff; | 486 | buf[2]=(s->error_code)&0xff; |
| 473 | 487 | ||
| 474 | /* state=s->rwstate;*/ | 488 | /* state=s->rwstate;*/ |
| 475 | error=s->error; | 489 | |
| 490 | error=s->error; /* number of bytes left to write */ | ||
| 476 | s->error=0; | 491 | s->error=0; |
| 477 | die(error >= 0 && error <= 3); | 492 | if (error < 0 || error > sizeof buf) /* can't happen */ |
| 493 | return; | ||
| 494 | |||
| 478 | i=ssl2_write(s,&(buf[3-error]),error); | 495 | i=ssl2_write(s,&(buf[3-error]),error); |
| 496 | |||
| 479 | /* if (i == error) s->rwstate=state; */ | 497 | /* if (i == error) s->rwstate=state; */ |
| 480 | 498 | ||
| 481 | if (i < 0) | 499 | if (i < 0) |
diff --git a/src/lib/libssl/src/ssl/s2_srvr.c b/src/lib/libssl/src/ssl/s2_srvr.c index a83605a1b7..f79c9a1651 100644 --- a/src/lib/libssl/src/ssl/s2_srvr.c +++ b/src/lib/libssl/src/ssl/s2_srvr.c | |||
| @@ -116,7 +116,6 @@ | |||
| 116 | #include <openssl/rand.h> | 116 | #include <openssl/rand.h> |
| 117 | #include <openssl/objects.h> | 117 | #include <openssl/objects.h> |
| 118 | #include <openssl/evp.h> | 118 | #include <openssl/evp.h> |
| 119 | #include "ssl_locl.h" | ||
| 120 | 119 | ||
| 121 | static SSL_METHOD *ssl2_get_server_method(int ver); | 120 | static SSL_METHOD *ssl2_get_server_method(int ver); |
| 122 | static int get_client_master_key(SSL *s); | 121 | static int get_client_master_key(SSL *s); |
| @@ -399,8 +398,7 @@ static int get_client_master_key(SSL *s) | |||
| 399 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_READ_WRONG_PACKET_TYPE); | 398 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_READ_WRONG_PACKET_TYPE); |
| 400 | } | 399 | } |
| 401 | else | 400 | else |
| 402 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, | 401 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, SSL_R_PEER_ERROR); |
| 403 | SSL_R_PEER_ERROR); | ||
| 404 | return(-1); | 402 | return(-1); |
| 405 | } | 403 | } |
| 406 | 404 | ||
| @@ -408,8 +406,7 @@ static int get_client_master_key(SSL *s) | |||
| 408 | if (cp == NULL) | 406 | if (cp == NULL) |
| 409 | { | 407 | { |
| 410 | ssl2_return_error(s,SSL2_PE_NO_CIPHER); | 408 | ssl2_return_error(s,SSL2_PE_NO_CIPHER); |
| 411 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, | 409 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, SSL_R_NO_CIPHER_MATCH); |
| 412 | SSL_R_NO_CIPHER_MATCH); | ||
| 413 | return(-1); | 410 | return(-1); |
| 414 | } | 411 | } |
| 415 | s->session->cipher= cp; | 412 | s->session->cipher= cp; |
| @@ -420,8 +417,8 @@ static int get_client_master_key(SSL *s) | |||
| 420 | n2s(p,i); s->session->key_arg_length=i; | 417 | n2s(p,i); s->session->key_arg_length=i; |
| 421 | if(s->session->key_arg_length > SSL_MAX_KEY_ARG_LENGTH) | 418 | if(s->session->key_arg_length > SSL_MAX_KEY_ARG_LENGTH) |
| 422 | { | 419 | { |
| 423 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, | 420 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); |
| 424 | SSL_R_KEY_ARG_TOO_LONG); | 421 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, SSL_R_KEY_ARG_TOO_LONG); |
| 425 | return -1; | 422 | return -1; |
| 426 | } | 423 | } |
| 427 | s->state=SSL2_ST_GET_CLIENT_MASTER_KEY_B; | 424 | s->state=SSL2_ST_GET_CLIENT_MASTER_KEY_B; |
| @@ -429,11 +426,17 @@ static int get_client_master_key(SSL *s) | |||
| 429 | 426 | ||
| 430 | /* SSL2_ST_GET_CLIENT_MASTER_KEY_B */ | 427 | /* SSL2_ST_GET_CLIENT_MASTER_KEY_B */ |
| 431 | p=(unsigned char *)s->init_buf->data; | 428 | p=(unsigned char *)s->init_buf->data; |
| 432 | die(s->init_buf->length >= SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER); | 429 | if (s->init_buf->length < SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) |
| 430 | { | ||
| 431 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 432 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, ERR_R_INTERNAL_ERROR); | ||
| 433 | return -1; | ||
| 434 | } | ||
| 433 | keya=s->session->key_arg_length; | 435 | keya=s->session->key_arg_length; |
| 434 | len = 10 + (unsigned long)s->s2->tmp.clear + (unsigned long)s->s2->tmp.enc + (unsigned long)keya; | 436 | len = 10 + (unsigned long)s->s2->tmp.clear + (unsigned long)s->s2->tmp.enc + (unsigned long)keya; |
| 435 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) | 437 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) |
| 436 | { | 438 | { |
| 439 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 437 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_MESSAGE_TOO_LONG); | 440 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_MESSAGE_TOO_LONG); |
| 438 | return -1; | 441 | return -1; |
| 439 | } | 442 | } |
| @@ -512,7 +515,13 @@ static int get_client_master_key(SSL *s) | |||
| 512 | #endif | 515 | #endif |
| 513 | 516 | ||
| 514 | if (is_export) i+=s->s2->tmp.clear; | 517 | if (is_export) i+=s->s2->tmp.clear; |
| 515 | die(i <= SSL_MAX_MASTER_KEY_LENGTH); | 518 | |
| 519 | if (i > SSL_MAX_MASTER_KEY_LENGTH) | ||
| 520 | { | ||
| 521 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 522 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY, ERR_R_INTERNAL_ERROR); | ||
| 523 | return -1; | ||
| 524 | } | ||
| 516 | s->session->master_key_length=i; | 525 | s->session->master_key_length=i; |
| 517 | memcpy(s->session->master_key,p,(unsigned int)i); | 526 | memcpy(s->session->master_key,p,(unsigned int)i); |
| 518 | return(1); | 527 | return(1); |
| @@ -563,6 +572,7 @@ static int get_client_hello(SSL *s) | |||
| 563 | if ( (i < SSL2_MIN_CHALLENGE_LENGTH) || | 572 | if ( (i < SSL2_MIN_CHALLENGE_LENGTH) || |
| 564 | (i > SSL2_MAX_CHALLENGE_LENGTH)) | 573 | (i > SSL2_MAX_CHALLENGE_LENGTH)) |
| 565 | { | 574 | { |
| 575 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 566 | SSLerr(SSL_F_GET_CLIENT_HELLO,SSL_R_INVALID_CHALLENGE_LENGTH); | 576 | SSLerr(SSL_F_GET_CLIENT_HELLO,SSL_R_INVALID_CHALLENGE_LENGTH); |
| 567 | return(-1); | 577 | return(-1); |
| 568 | } | 578 | } |
| @@ -574,6 +584,7 @@ static int get_client_hello(SSL *s) | |||
| 574 | len = 9 + (unsigned long)s->s2->tmp.cipher_spec_length + (unsigned long)s->s2->challenge_length + (unsigned long)s->s2->tmp.session_id_length; | 584 | len = 9 + (unsigned long)s->s2->tmp.cipher_spec_length + (unsigned long)s->s2->challenge_length + (unsigned long)s->s2->tmp.session_id_length; |
| 575 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) | 585 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) |
| 576 | { | 586 | { |
| 587 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 577 | SSLerr(SSL_F_GET_CLIENT_HELLO,SSL_R_MESSAGE_TOO_LONG); | 588 | SSLerr(SSL_F_GET_CLIENT_HELLO,SSL_R_MESSAGE_TOO_LONG); |
| 578 | return -1; | 589 | return -1; |
| 579 | } | 590 | } |
| @@ -679,7 +690,12 @@ static int get_client_hello(SSL *s) | |||
| 679 | p+=s->s2->tmp.session_id_length; | 690 | p+=s->s2->tmp.session_id_length; |
| 680 | 691 | ||
| 681 | /* challenge */ | 692 | /* challenge */ |
| 682 | die(s->s2->challenge_length <= sizeof s->s2->challenge); | 693 | if (s->s2->challenge_length > sizeof s->s2->challenge) |
| 694 | { | ||
| 695 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 696 | SSLerr(SSL_F_GET_CLIENT_HELLO, ERR_R_INTERNAL_ERROR); | ||
| 697 | return -1; | ||
| 698 | } | ||
| 683 | memcpy(s->s2->challenge,p,(unsigned int)s->s2->challenge_length); | 699 | memcpy(s->s2->challenge,p,(unsigned int)s->s2->challenge_length); |
| 684 | return(1); | 700 | return(1); |
| 685 | mem_err: | 701 | mem_err: |
| @@ -836,7 +852,12 @@ static int get_client_finished(SSL *s) | |||
| 836 | } | 852 | } |
| 837 | 853 | ||
| 838 | /* SSL2_ST_GET_CLIENT_FINISHED_B */ | 854 | /* SSL2_ST_GET_CLIENT_FINISHED_B */ |
| 839 | die(s->s2->conn_id_length <= sizeof s->s2->conn_id); | 855 | if (s->s2->conn_id_length > sizeof s->s2->conn_id) |
| 856 | { | ||
| 857 | ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); | ||
| 858 | SSLerr(SSL_F_GET_CLIENT_FINISHED, ERR_R_INTERNAL_ERROR); | ||
| 859 | return -1; | ||
| 860 | } | ||
| 840 | len = 1 + (unsigned long)s->s2->conn_id_length; | 861 | len = 1 + (unsigned long)s->s2->conn_id_length; |
| 841 | n = (int)len - s->init_num; | 862 | n = (int)len - s->init_num; |
| 842 | i = ssl2_read(s,(char *)&(p[s->init_num]),n); | 863 | i = ssl2_read(s,(char *)&(p[s->init_num]),n); |
| @@ -864,7 +885,11 @@ static int server_verify(SSL *s) | |||
| 864 | { | 885 | { |
| 865 | p=(unsigned char *)s->init_buf->data; | 886 | p=(unsigned char *)s->init_buf->data; |
| 866 | *(p++)=SSL2_MT_SERVER_VERIFY; | 887 | *(p++)=SSL2_MT_SERVER_VERIFY; |
| 867 | die(s->s2->challenge_length <= sizeof s->s2->challenge); | 888 | if (s->s2->challenge_length > sizeof s->s2->challenge) |
| 889 | { | ||
| 890 | SSLerr(SSL_F_SERVER_VERIFY, ERR_R_INTERNAL_ERROR); | ||
| 891 | return -1; | ||
| 892 | } | ||
| 868 | memcpy(p,s->s2->challenge,(unsigned int)s->s2->challenge_length); | 893 | memcpy(p,s->s2->challenge,(unsigned int)s->s2->challenge_length); |
| 869 | /* p+=s->s2->challenge_length; */ | 894 | /* p+=s->s2->challenge_length; */ |
| 870 | 895 | ||
| @@ -884,10 +909,12 @@ static int server_finish(SSL *s) | |||
| 884 | p=(unsigned char *)s->init_buf->data; | 909 | p=(unsigned char *)s->init_buf->data; |
| 885 | *(p++)=SSL2_MT_SERVER_FINISHED; | 910 | *(p++)=SSL2_MT_SERVER_FINISHED; |
| 886 | 911 | ||
| 887 | die(s->session->session_id_length | 912 | if (s->session->session_id_length > sizeof s->session->session_id) |
| 888 | <= sizeof s->session->session_id); | 913 | { |
| 889 | memcpy(p,s->session->session_id, | 914 | SSLerr(SSL_F_SERVER_FINISH, ERR_R_INTERNAL_ERROR); |
| 890 | (unsigned int)s->session->session_id_length); | 915 | return -1; |
| 916 | } | ||
| 917 | memcpy(p,s->session->session_id, (unsigned int)s->session->session_id_length); | ||
| 891 | /* p+=s->session->session_id_length; */ | 918 | /* p+=s->session->session_id_length; */ |
| 892 | 919 | ||
| 893 | s->state=SSL2_ST_SEND_SERVER_FINISHED_B; | 920 | s->state=SSL2_ST_SEND_SERVER_FINISHED_B; |
| @@ -1004,7 +1031,7 @@ static int request_certificate(SSL *s) | |||
| 1004 | len = 6 + (unsigned long)s->s2->tmp.clen + (unsigned long)s->s2->tmp.rlen; | 1031 | len = 6 + (unsigned long)s->s2->tmp.clen + (unsigned long)s->s2->tmp.rlen; |
| 1005 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) | 1032 | if (len > SSL2_MAX_RECORD_LENGTH_3_BYTE_HEADER) |
| 1006 | { | 1033 | { |
| 1007 | SSLerr(SSL_F_GET_CLIENT_MASTER_KEY,SSL_R_MESSAGE_TOO_LONG); | 1034 | SSLerr(SSL_F_REQUEST_CERTIFICATE,SSL_R_MESSAGE_TOO_LONG); |
| 1008 | goto end; | 1035 | goto end; |
| 1009 | } | 1036 | } |
| 1010 | j = (int)len - s->init_num; | 1037 | j = (int)len - s->init_num; |
diff --git a/src/lib/libssl/src/ssl/s3_clnt.c b/src/lib/libssl/src/ssl/s3_clnt.c index 27df7a5a64..9ce5373b51 100644 --- a/src/lib/libssl/src/ssl/s3_clnt.c +++ b/src/lib/libssl/src/ssl/s3_clnt.c | |||
| @@ -545,7 +545,11 @@ static int ssl3_client_hello(SSL *s) | |||
| 545 | *(p++)=i; | 545 | *(p++)=i; |
| 546 | if (i != 0) | 546 | if (i != 0) |
| 547 | { | 547 | { |
| 548 | die(i <= sizeof s->session->session_id); | 548 | if (i > sizeof s->session->session_id) |
| 549 | { | ||
| 550 | SSLerr(SSL_F_SSL3_CLIENT_HELLO, ERR_R_INTERNAL_ERROR); | ||
| 551 | goto err; | ||
| 552 | } | ||
| 549 | memcpy(p,s->session->session_id,i); | 553 | memcpy(p,s->session->session_id,i); |
| 550 | p+=i; | 554 | p+=i; |
| 551 | } | 555 | } |
| @@ -1597,7 +1601,11 @@ static int ssl3_send_client_key_exchange(SSL *s) | |||
| 1597 | SSL_MAX_MASTER_KEY_LENGTH); | 1601 | SSL_MAX_MASTER_KEY_LENGTH); |
| 1598 | EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); | 1602 | EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); |
| 1599 | outl += padl; | 1603 | outl += padl; |
| 1600 | die(outl <= sizeof epms); | 1604 | if (outl > sizeof epms) |
| 1605 | { | ||
| 1606 | SSLerr(SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE, ERR_R_INTERNAL_ERROR); | ||
| 1607 | goto err; | ||
| 1608 | } | ||
| 1601 | EVP_CIPHER_CTX_cleanup(&ciph_ctx); | 1609 | EVP_CIPHER_CTX_cleanup(&ciph_ctx); |
| 1602 | 1610 | ||
| 1603 | /* KerberosWrapper.EncryptedPreMasterSecret */ | 1611 | /* KerberosWrapper.EncryptedPreMasterSecret */ |
diff --git a/src/lib/libssl/src/ssl/s3_srvr.c b/src/lib/libssl/src/ssl/s3_srvr.c index dfffed7165..2e1b0eb892 100644 --- a/src/lib/libssl/src/ssl/s3_srvr.c +++ b/src/lib/libssl/src/ssl/s3_srvr.c | |||
| @@ -966,7 +966,11 @@ static int ssl3_send_server_hello(SSL *s) | |||
| 966 | s->session->session_id_length=0; | 966 | s->session->session_id_length=0; |
| 967 | 967 | ||
| 968 | sl=s->session->session_id_length; | 968 | sl=s->session->session_id_length; |
| 969 | die(sl <= sizeof s->session->session_id); | 969 | if (sl > sizeof s->session->session_id) |
| 970 | { | ||
| 971 | SSLerr(SSL_F_SSL3_SEND_SERVER_HELLO, ERR_R_INTERNAL_ERROR); | ||
| 972 | return -1; | ||
| 973 | } | ||
| 970 | *(p++)=sl; | 974 | *(p++)=sl; |
| 971 | memcpy(p,s->session->session_id,sl); | 975 | memcpy(p,s->session->session_id,sl); |
| 972 | p+=sl; | 976 | p+=sl; |
diff --git a/src/lib/libssl/src/ssl/ssl-lib.com b/src/lib/libssl/src/ssl/ssl-lib.com index 1f1921e162..d6829a8d64 100644 --- a/src/lib/libssl/src/ssl/ssl-lib.com +++ b/src/lib/libssl/src/ssl/ssl-lib.com | |||
| @@ -1067,7 +1067,7 @@ $ ENDIF | |||
| 1067 | $! | 1067 | $! |
| 1068 | $! Show user the result | 1068 | $! Show user the result |
| 1069 | $! | 1069 | $! |
| 1070 | $ WRITE SYS$OUTPUT "Main Compiling Command: ",CC | 1070 | $ WRITE/SYMBOL SYS$OUTPUT "Main Compiling Command: ",CC |
| 1071 | $! | 1071 | $! |
| 1072 | $! Else The User Entered An Invalid Arguement. | 1072 | $! Else The User Entered An Invalid Arguement. |
| 1073 | $! | 1073 | $! |
diff --git a/src/lib/libssl/src/ssl/ssl.h b/src/lib/libssl/src/ssl/ssl.h index d9949e8eb2..e9d1e896d7 100644 --- a/src/lib/libssl/src/ssl/ssl.h +++ b/src/lib/libssl/src/ssl/ssl.h | |||
| @@ -1462,6 +1462,7 @@ void ERR_load_SSL_strings(void); | |||
| 1462 | 1462 | ||
| 1463 | /* Function codes. */ | 1463 | /* Function codes. */ |
| 1464 | #define SSL_F_CLIENT_CERTIFICATE 100 | 1464 | #define SSL_F_CLIENT_CERTIFICATE 100 |
| 1465 | #define SSL_F_CLIENT_FINISHED 238 | ||
| 1465 | #define SSL_F_CLIENT_HELLO 101 | 1466 | #define SSL_F_CLIENT_HELLO 101 |
| 1466 | #define SSL_F_CLIENT_MASTER_KEY 102 | 1467 | #define SSL_F_CLIENT_MASTER_KEY 102 |
| 1467 | #define SSL_F_D2I_SSL_SESSION 103 | 1468 | #define SSL_F_D2I_SSL_SESSION 103 |
| @@ -1475,7 +1476,9 @@ void ERR_load_SSL_strings(void); | |||
| 1475 | #define SSL_F_I2D_SSL_SESSION 111 | 1476 | #define SSL_F_I2D_SSL_SESSION 111 |
| 1476 | #define SSL_F_READ_N 112 | 1477 | #define SSL_F_READ_N 112 |
| 1477 | #define SSL_F_REQUEST_CERTIFICATE 113 | 1478 | #define SSL_F_REQUEST_CERTIFICATE 113 |
| 1479 | #define SSL_F_SERVER_FINISH 239 | ||
| 1478 | #define SSL_F_SERVER_HELLO 114 | 1480 | #define SSL_F_SERVER_HELLO 114 |
| 1481 | #define SSL_F_SERVER_VERIFY 240 | ||
| 1479 | #define SSL_F_SSL23_ACCEPT 115 | 1482 | #define SSL_F_SSL23_ACCEPT 115 |
| 1480 | #define SSL_F_SSL23_CLIENT_HELLO 116 | 1483 | #define SSL_F_SSL23_CLIENT_HELLO 116 |
| 1481 | #define SSL_F_SSL23_CONNECT 117 | 1484 | #define SSL_F_SSL23_CONNECT 117 |
| @@ -1487,6 +1490,7 @@ void ERR_load_SSL_strings(void); | |||
| 1487 | #define SSL_F_SSL2_ACCEPT 122 | 1490 | #define SSL_F_SSL2_ACCEPT 122 |
| 1488 | #define SSL_F_SSL2_CONNECT 123 | 1491 | #define SSL_F_SSL2_CONNECT 123 |
| 1489 | #define SSL_F_SSL2_ENC_INIT 124 | 1492 | #define SSL_F_SSL2_ENC_INIT 124 |
| 1493 | #define SSL_F_SSL2_GENERATE_KEY_MATERIAL 241 | ||
| 1490 | #define SSL_F_SSL2_PEEK 234 | 1494 | #define SSL_F_SSL2_PEEK 234 |
| 1491 | #define SSL_F_SSL2_READ 125 | 1495 | #define SSL_F_SSL2_READ 125 |
| 1492 | #define SSL_F_SSL2_READ_INTERNAL 236 | 1496 | #define SSL_F_SSL2_READ_INTERNAL 236 |
| @@ -1523,6 +1527,7 @@ void ERR_load_SSL_strings(void); | |||
| 1523 | #define SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE 152 | 1527 | #define SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE 152 |
| 1524 | #define SSL_F_SSL3_SEND_CLIENT_VERIFY 153 | 1528 | #define SSL_F_SSL3_SEND_CLIENT_VERIFY 153 |
| 1525 | #define SSL_F_SSL3_SEND_SERVER_CERTIFICATE 154 | 1529 | #define SSL_F_SSL3_SEND_SERVER_CERTIFICATE 154 |
| 1530 | #define SSL_F_SSL3_SEND_SERVER_HELLO 242 | ||
| 1526 | #define SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE 155 | 1531 | #define SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE 155 |
| 1527 | #define SSL_F_SSL3_SETUP_BUFFERS 156 | 1532 | #define SSL_F_SSL3_SETUP_BUFFERS 156 |
| 1528 | #define SSL_F_SSL3_SETUP_KEY_BLOCK 157 | 1533 | #define SSL_F_SSL3_SETUP_KEY_BLOCK 157 |
| @@ -1747,6 +1752,7 @@ void ERR_load_SSL_strings(void); | |||
| 1747 | #define SSL_R_SHORT_READ 219 | 1752 | #define SSL_R_SHORT_READ 219 |
| 1748 | #define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220 | 1753 | #define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220 |
| 1749 | #define SSL_R_SSL23_DOING_SESSION_ID_REUSE 221 | 1754 | #define SSL_R_SSL23_DOING_SESSION_ID_REUSE 221 |
| 1755 | #define SSL_R_SSL2_CONNECTION_ID_TOO_LONG 1114 | ||
| 1750 | #define SSL_R_SSL3_SESSION_ID_TOO_LONG 1113 | 1756 | #define SSL_R_SSL3_SESSION_ID_TOO_LONG 1113 |
| 1751 | #define SSL_R_SSL3_SESSION_ID_TOO_SHORT 222 | 1757 | #define SSL_R_SSL3_SESSION_ID_TOO_SHORT 222 |
| 1752 | #define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042 | 1758 | #define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042 |
diff --git a/src/lib/libssl/src/ssl/ssl_asn1.c b/src/lib/libssl/src/ssl/ssl_asn1.c index c550747947..23bfe44e21 100644 --- a/src/lib/libssl/src/ssl/ssl_asn1.c +++ b/src/lib/libssl/src/ssl/ssl_asn1.c | |||
| @@ -57,8 +57,8 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include "ssl_locl.h" | ||
| 61 | #include <stdlib.h> | 60 | #include <stdlib.h> |
| 61 | #include "ssl_locl.h" | ||
| 62 | #include <openssl/asn1_mac.h> | 62 | #include <openssl/asn1_mac.h> |
| 63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
| 64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
| @@ -293,10 +293,11 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, unsigned char **pp, | |||
| 293 | i=SSL2_MAX_SSL_SESSION_ID_LENGTH; | 293 | i=SSL2_MAX_SSL_SESSION_ID_LENGTH; |
| 294 | 294 | ||
| 295 | if (os.length > i) | 295 | if (os.length > i) |
| 296 | os.length=i; | 296 | os.length = i; |
| 297 | if (os.length > sizeof ret->session_id) /* can't happen */ | ||
| 298 | os.length = sizeof ret->session_id; | ||
| 297 | 299 | ||
| 298 | ret->session_id_length=os.length; | 300 | ret->session_id_length=os.length; |
| 299 | die(os.length <= sizeof ret->session_id); | ||
| 300 | memcpy(ret->session_id,os.data,os.length); | 301 | memcpy(ret->session_id,os.data,os.length); |
| 301 | 302 | ||
| 302 | M_ASN1_D2I_get(osp,d2i_ASN1_OCTET_STRING); | 303 | M_ASN1_D2I_get(osp,d2i_ASN1_OCTET_STRING); |
diff --git a/src/lib/libssl/src/ssl/ssl_err.c b/src/lib/libssl/src/ssl/ssl_err.c index 0cad32c855..7067a745f3 100644 --- a/src/lib/libssl/src/ssl/ssl_err.c +++ b/src/lib/libssl/src/ssl/ssl_err.c | |||
| @@ -67,6 +67,7 @@ | |||
| 67 | static ERR_STRING_DATA SSL_str_functs[]= | 67 | static ERR_STRING_DATA SSL_str_functs[]= |
| 68 | { | 68 | { |
| 69 | {ERR_PACK(0,SSL_F_CLIENT_CERTIFICATE,0), "CLIENT_CERTIFICATE"}, | 69 | {ERR_PACK(0,SSL_F_CLIENT_CERTIFICATE,0), "CLIENT_CERTIFICATE"}, |
| 70 | {ERR_PACK(0,SSL_F_CLIENT_FINISHED,0), "CLIENT_FINISHED"}, | ||
| 70 | {ERR_PACK(0,SSL_F_CLIENT_HELLO,0), "CLIENT_HELLO"}, | 71 | {ERR_PACK(0,SSL_F_CLIENT_HELLO,0), "CLIENT_HELLO"}, |
| 71 | {ERR_PACK(0,SSL_F_CLIENT_MASTER_KEY,0), "CLIENT_MASTER_KEY"}, | 72 | {ERR_PACK(0,SSL_F_CLIENT_MASTER_KEY,0), "CLIENT_MASTER_KEY"}, |
| 72 | {ERR_PACK(0,SSL_F_D2I_SSL_SESSION,0), "d2i_SSL_SESSION"}, | 73 | {ERR_PACK(0,SSL_F_D2I_SSL_SESSION,0), "d2i_SSL_SESSION"}, |
| @@ -80,7 +81,9 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 80 | {ERR_PACK(0,SSL_F_I2D_SSL_SESSION,0), "i2d_SSL_SESSION"}, | 81 | {ERR_PACK(0,SSL_F_I2D_SSL_SESSION,0), "i2d_SSL_SESSION"}, |
| 81 | {ERR_PACK(0,SSL_F_READ_N,0), "READ_N"}, | 82 | {ERR_PACK(0,SSL_F_READ_N,0), "READ_N"}, |
| 82 | {ERR_PACK(0,SSL_F_REQUEST_CERTIFICATE,0), "REQUEST_CERTIFICATE"}, | 83 | {ERR_PACK(0,SSL_F_REQUEST_CERTIFICATE,0), "REQUEST_CERTIFICATE"}, |
| 84 | {ERR_PACK(0,SSL_F_SERVER_FINISH,0), "SERVER_FINISH"}, | ||
| 83 | {ERR_PACK(0,SSL_F_SERVER_HELLO,0), "SERVER_HELLO"}, | 85 | {ERR_PACK(0,SSL_F_SERVER_HELLO,0), "SERVER_HELLO"}, |
| 86 | {ERR_PACK(0,SSL_F_SERVER_VERIFY,0), "SERVER_VERIFY"}, | ||
| 84 | {ERR_PACK(0,SSL_F_SSL23_ACCEPT,0), "SSL23_ACCEPT"}, | 87 | {ERR_PACK(0,SSL_F_SSL23_ACCEPT,0), "SSL23_ACCEPT"}, |
| 85 | {ERR_PACK(0,SSL_F_SSL23_CLIENT_HELLO,0), "SSL23_CLIENT_HELLO"}, | 88 | {ERR_PACK(0,SSL_F_SSL23_CLIENT_HELLO,0), "SSL23_CLIENT_HELLO"}, |
| 86 | {ERR_PACK(0,SSL_F_SSL23_CONNECT,0), "SSL23_CONNECT"}, | 89 | {ERR_PACK(0,SSL_F_SSL23_CONNECT,0), "SSL23_CONNECT"}, |
| @@ -92,6 +95,7 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 92 | {ERR_PACK(0,SSL_F_SSL2_ACCEPT,0), "SSL2_ACCEPT"}, | 95 | {ERR_PACK(0,SSL_F_SSL2_ACCEPT,0), "SSL2_ACCEPT"}, |
| 93 | {ERR_PACK(0,SSL_F_SSL2_CONNECT,0), "SSL2_CONNECT"}, | 96 | {ERR_PACK(0,SSL_F_SSL2_CONNECT,0), "SSL2_CONNECT"}, |
| 94 | {ERR_PACK(0,SSL_F_SSL2_ENC_INIT,0), "SSL2_ENC_INIT"}, | 97 | {ERR_PACK(0,SSL_F_SSL2_ENC_INIT,0), "SSL2_ENC_INIT"}, |
| 98 | {ERR_PACK(0,SSL_F_SSL2_GENERATE_KEY_MATERIAL,0), "SSL2_GENERATE_KEY_MATERIAL"}, | ||
| 95 | {ERR_PACK(0,SSL_F_SSL2_PEEK,0), "SSL2_PEEK"}, | 99 | {ERR_PACK(0,SSL_F_SSL2_PEEK,0), "SSL2_PEEK"}, |
| 96 | {ERR_PACK(0,SSL_F_SSL2_READ,0), "SSL2_READ"}, | 100 | {ERR_PACK(0,SSL_F_SSL2_READ,0), "SSL2_READ"}, |
| 97 | {ERR_PACK(0,SSL_F_SSL2_READ_INTERNAL,0), "SSL2_READ_INTERNAL"}, | 101 | {ERR_PACK(0,SSL_F_SSL2_READ_INTERNAL,0), "SSL2_READ_INTERNAL"}, |
| @@ -128,6 +132,7 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 128 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE,0), "SSL3_SEND_CLIENT_KEY_EXCHANGE"}, | 132 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE,0), "SSL3_SEND_CLIENT_KEY_EXCHANGE"}, |
| 129 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_VERIFY,0), "SSL3_SEND_CLIENT_VERIFY"}, | 133 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_VERIFY,0), "SSL3_SEND_CLIENT_VERIFY"}, |
| 130 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_CERTIFICATE,0), "SSL3_SEND_SERVER_CERTIFICATE"}, | 134 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_CERTIFICATE,0), "SSL3_SEND_SERVER_CERTIFICATE"}, |
| 135 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_HELLO,0), "SSL3_SEND_SERVER_HELLO"}, | ||
| 131 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE,0), "SSL3_SEND_SERVER_KEY_EXCHANGE"}, | 136 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE,0), "SSL3_SEND_SERVER_KEY_EXCHANGE"}, |
| 132 | {ERR_PACK(0,SSL_F_SSL3_SETUP_BUFFERS,0), "SSL3_SETUP_BUFFERS"}, | 137 | {ERR_PACK(0,SSL_F_SSL3_SETUP_BUFFERS,0), "SSL3_SETUP_BUFFERS"}, |
| 133 | {ERR_PACK(0,SSL_F_SSL3_SETUP_KEY_BLOCK,0), "SSL3_SETUP_KEY_BLOCK"}, | 138 | {ERR_PACK(0,SSL_F_SSL3_SETUP_KEY_BLOCK,0), "SSL3_SETUP_KEY_BLOCK"}, |
| @@ -355,6 +360,7 @@ static ERR_STRING_DATA SSL_str_reasons[]= | |||
| 355 | {SSL_R_SHORT_READ ,"short read"}, | 360 | {SSL_R_SHORT_READ ,"short read"}, |
| 356 | {SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,"signature for non signing certificate"}, | 361 | {SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,"signature for non signing certificate"}, |
| 357 | {SSL_R_SSL23_DOING_SESSION_ID_REUSE ,"ssl23 doing session id reuse"}, | 362 | {SSL_R_SSL23_DOING_SESSION_ID_REUSE ,"ssl23 doing session id reuse"}, |
| 363 | {SSL_R_SSL2_CONNECTION_ID_TOO_LONG ,"ssl2 connection id too long"}, | ||
| 358 | {SSL_R_SSL3_SESSION_ID_TOO_LONG ,"ssl3 session id too long"}, | 364 | {SSL_R_SSL3_SESSION_ID_TOO_LONG ,"ssl3 session id too long"}, |
| 359 | {SSL_R_SSL3_SESSION_ID_TOO_SHORT ,"ssl3 session id too short"}, | 365 | {SSL_R_SSL3_SESSION_ID_TOO_SHORT ,"ssl3 session id too short"}, |
| 360 | {SSL_R_SSLV3_ALERT_BAD_CERTIFICATE ,"sslv3 alert bad certificate"}, | 366 | {SSL_R_SSLV3_ALERT_BAD_CERTIFICATE ,"sslv3 alert bad certificate"}, |
diff --git a/src/lib/libssl/src/ssl/ssl_lib.c b/src/lib/libssl/src/ssl/ssl_lib.c index 4a87a146e3..4bc4ce5b3a 100644 --- a/src/lib/libssl/src/ssl/ssl_lib.c +++ b/src/lib/libssl/src/ssl/ssl_lib.c | |||
| @@ -1405,13 +1405,24 @@ void SSL_CTX_free(SSL_CTX *a) | |||
| 1405 | abort(); /* ok */ | 1405 | abort(); /* ok */ |
| 1406 | } | 1406 | } |
| 1407 | #endif | 1407 | #endif |
| 1408 | CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); | ||
| 1409 | 1408 | ||
| 1409 | /* | ||
| 1410 | * Free internal session cache. However: the remove_cb() may reference | ||
| 1411 | * the ex_data of SSL_CTX, thus the ex_data store can only be removed | ||
| 1412 | * after the sessions were flushed. | ||
| 1413 | * As the ex_data handling routines might also touch the session cache, | ||
| 1414 | * the most secure solution seems to be: empty (flush) the cache, then | ||
| 1415 | * free ex_data, then finally free the cache. | ||
| 1416 | * (See ticket [openssl.org #212].) | ||
| 1417 | */ | ||
| 1410 | if (a->sessions != NULL) | 1418 | if (a->sessions != NULL) |
| 1411 | { | ||
| 1412 | SSL_CTX_flush_sessions(a,0); | 1419 | SSL_CTX_flush_sessions(a,0); |
| 1420 | |||
| 1421 | CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); | ||
| 1422 | |||
| 1423 | if (a->sessions != NULL) | ||
| 1413 | lh_free(a->sessions); | 1424 | lh_free(a->sessions); |
| 1414 | } | 1425 | |
| 1415 | if (a->cert_store != NULL) | 1426 | if (a->cert_store != NULL) |
| 1416 | X509_STORE_free(a->cert_store); | 1427 | X509_STORE_free(a->cert_store); |
| 1417 | if (a->cipher_list != NULL) | 1428 | if (a->cipher_list != NULL) |
| @@ -2289,10 +2300,3 @@ void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int con | |||
| 2289 | 2300 | ||
| 2290 | IMPLEMENT_STACK_OF(SSL_CIPHER) | 2301 | IMPLEMENT_STACK_OF(SSL_CIPHER) |
| 2291 | IMPLEMENT_STACK_OF(SSL_COMP) | 2302 | IMPLEMENT_STACK_OF(SSL_COMP) |
| 2292 | |||
| 2293 | void OpenSSLDie(const char *file,int line,const char *assertion) | ||
| 2294 | { | ||
| 2295 | fprintf(stderr,"%s(%d): OpenSSL internal error, assertion failed: %s\n", | ||
| 2296 | file,line,assertion); | ||
| 2297 | abort(); | ||
| 2298 | } | ||
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h index 4c77e27acc..dd6c7a7323 100644 --- a/src/lib/libssl/src/ssl/ssl_locl.h +++ b/src/lib/libssl/src/ssl/ssl_locl.h | |||
| @@ -510,7 +510,7 @@ STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s); | |||
| 510 | int ssl_verify_alarm_type(long type); | 510 | int ssl_verify_alarm_type(long type); |
| 511 | 511 | ||
| 512 | int ssl2_enc_init(SSL *s, int client); | 512 | int ssl2_enc_init(SSL *s, int client); |
| 513 | void ssl2_generate_key_material(SSL *s); | 513 | int ssl2_generate_key_material(SSL *s); |
| 514 | void ssl2_enc(SSL *s,int send_data); | 514 | void ssl2_enc(SSL *s,int send_data); |
| 515 | void ssl2_mac(SSL *s,unsigned char *mac,int send_data); | 515 | void ssl2_mac(SSL *s,unsigned char *mac,int send_data); |
| 516 | SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p); | 516 | SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p); |
| @@ -616,8 +616,5 @@ int ssl_ok(SSL *s); | |||
| 616 | SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); | 616 | SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); |
| 617 | STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void); | 617 | STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void); |
| 618 | 618 | ||
| 619 | /* die if we have to */ | ||
| 620 | void OpenSSLDie(const char *file,int line,const char *assertion); | ||
| 621 | #define die(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e)) | ||
| 622 | 619 | ||
| 623 | #endif | 620 | #endif |
diff --git a/src/lib/libssl/src/ssl/ssl_sess.c b/src/lib/libssl/src/ssl/ssl_sess.c index a0c3100b29..664f8c2230 100644 --- a/src/lib/libssl/src/ssl/ssl_sess.c +++ b/src/lib/libssl/src/ssl/ssl_sess.c | |||
| @@ -250,7 +250,12 @@ int ssl_get_new_session(SSL *s, int session) | |||
| 250 | ss->session_id_length=0; | 250 | ss->session_id_length=0; |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | die(s->sid_ctx_length <= sizeof ss->sid_ctx); | 253 | if (s->sid_ctx_length > sizeof ss->sid_ctx) |
| 254 | { | ||
| 255 | SSLerr(SSL_F_SSL_GET_NEW_SESSION, ERR_R_INTERNAL_ERROR); | ||
| 256 | SSL_SESSION_free(ss); | ||
| 257 | return 0; | ||
| 258 | } | ||
| 254 | memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); | 259 | memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); |
| 255 | ss->sid_ctx_length=s->sid_ctx_length; | 260 | ss->sid_ctx_length=s->sid_ctx_length; |
| 256 | s->session=ss; | 261 | s->session=ss; |
diff --git a/src/lib/libssl/src/ssl/ssltest.c b/src/lib/libssl/src/ssl/ssltest.c index 1afdfa7750..4f6379e160 100644 --- a/src/lib/libssl/src/ssl/ssltest.c +++ b/src/lib/libssl/src/ssl/ssltest.c | |||
| @@ -400,12 +400,22 @@ int main(int argc, char *argv[]) | |||
| 400 | debug=1; | 400 | debug=1; |
| 401 | else if (strcmp(*argv,"-reuse") == 0) | 401 | else if (strcmp(*argv,"-reuse") == 0) |
| 402 | reuse=1; | 402 | reuse=1; |
| 403 | #ifndef OPENSSL_NO_DH | ||
| 404 | else if (strcmp(*argv,"-dhe1024") == 0) | 403 | else if (strcmp(*argv,"-dhe1024") == 0) |
| 404 | { | ||
| 405 | #ifndef OPENSSL_NO_DH | ||
| 405 | dhe1024=1; | 406 | dhe1024=1; |
| 407 | #else | ||
| 408 | fprintf(stderr,"ignoring -dhe1024, since I'm compiled without DH\n"; | ||
| 409 | #endif | ||
| 410 | } | ||
| 406 | else if (strcmp(*argv,"-dhe1024dsa") == 0) | 411 | else if (strcmp(*argv,"-dhe1024dsa") == 0) |
| 412 | { | ||
| 413 | #ifndef OPENSSL_NO_DH | ||
| 407 | dhe1024dsa=1; | 414 | dhe1024dsa=1; |
| 415 | #else | ||
| 416 | fprintf(stderr,"ignoring -dhe1024, since I'm compiled without DH\n"; | ||
| 408 | #endif | 417 | #endif |
| 418 | } | ||
| 409 | else if (strcmp(*argv,"-no_dhe") == 0) | 419 | else if (strcmp(*argv,"-no_dhe") == 0) |
| 410 | no_dhe=1; | 420 | no_dhe=1; |
| 411 | else if (strcmp(*argv,"-ssl2") == 0) | 421 | else if (strcmp(*argv,"-ssl2") == 0) |
diff --git a/src/lib/libssl/src/test/Makefile.ssl b/src/lib/libssl/src/test/Makefile.ssl index c1408021ba..f489332a65 100644 --- a/src/lib/libssl/src/test/Makefile.ssl +++ b/src/lib/libssl/src/test/Makefile.ssl | |||
| @@ -224,7 +224,7 @@ test_ec: | |||
| 224 | test_verify: | 224 | test_verify: |
| 225 | @echo "The following command should have some OK's and some failures" | 225 | @echo "The following command should have some OK's and some failures" |
| 226 | @echo "There are definitly a few expired certificates" | 226 | @echo "There are definitly a few expired certificates" |
| 227 | ../apps/openssl verify -CApath ../certs ../certs/*.pem | 227 | -../apps/openssl verify -CApath ../certs ../certs/*.pem |
| 228 | 228 | ||
| 229 | test_dh: | 229 | test_dh: |
| 230 | @echo "Generate a set of DH parameters" | 230 | @echo "Generate a set of DH parameters" |
diff --git a/src/lib/libssl/src/test/maketests.com b/src/lib/libssl/src/test/maketests.com index b3bf8bb837..91e859deab 100644 --- a/src/lib/libssl/src/test/maketests.com +++ b/src/lib/libssl/src/test/maketests.com | |||
| @@ -887,7 +887,7 @@ $ CC = CC + "/DEFINE=(" + CCDEFS + ")" + CCDISABLEWARNINGS | |||
| 887 | $! | 887 | $! |
| 888 | $! Show user the result | 888 | $! Show user the result |
| 889 | $! | 889 | $! |
| 890 | $ WRITE SYS$OUTPUT "Main Compiling Command: ",CC | 890 | $ WRITE/SYMBOL SYS$OUTPUT "Main Compiling Command: ",CC |
| 891 | $! | 891 | $! |
| 892 | $! Else The User Entered An Invalid Arguement. | 892 | $! Else The User Entered An Invalid Arguement. |
| 893 | $! | 893 | $! |
diff --git a/src/lib/libssl/src/test/tcrl.com b/src/lib/libssl/src/test/tcrl.com index 2e6ab2814d..86bf9735aa 100644 --- a/src/lib/libssl/src/test/tcrl.com +++ b/src/lib/libssl/src/test/tcrl.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing CRL conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/testenc.com b/src/lib/libssl/src/test/testenc.com index 3b66f2e0d0..c24fa388c0 100644 --- a/src/lib/libssl/src/test/testenc.com +++ b/src/lib/libssl/src/test/testenc.com | |||
| @@ -9,7 +9,9 @@ $ test := p.txt | |||
| 9 | $ cmd := mcr 'exe_dir'openssl | 9 | $ cmd := mcr 'exe_dir'openssl |
| 10 | $ | 10 | $ |
| 11 | $ if f$search(test) .nes. "" then delete 'test';* | 11 | $ if f$search(test) .nes. "" then delete 'test';* |
| 12 | $ copy 'testsrc' 'test' | 12 | $ convert/fdl=sys$input: 'testsrc' 'test' |
| 13 | RECORD | ||
| 14 | FORMAT STREAM_LF | ||
| 13 | $ | 15 | $ |
| 14 | $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* | 16 | $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* |
| 15 | $ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* | 17 | $ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* |
diff --git a/src/lib/libssl/src/test/tpkcs7.com b/src/lib/libssl/src/test/tpkcs7.com index 9e345937c6..047834fba4 100644 --- a/src/lib/libssl/src/test/tpkcs7.com +++ b/src/lib/libssl/src/test/tpkcs7.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing PKCS7 conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/tpkcs7d.com b/src/lib/libssl/src/test/tpkcs7d.com index 7d4f8794a4..193bb72137 100644 --- a/src/lib/libssl/src/test/tpkcs7d.com +++ b/src/lib/libssl/src/test/tpkcs7d.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing PKCS7 conversions (2)" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/treq.com b/src/lib/libssl/src/test/treq.com index 22c22c3aa9..5524e485ba 100644 --- a/src/lib/libssl/src/test/treq.com +++ b/src/lib/libssl/src/test/treq.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing req conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/trsa.com b/src/lib/libssl/src/test/trsa.com index 6b6c318e2b..6dbe59ef64 100644 --- a/src/lib/libssl/src/test/trsa.com +++ b/src/lib/libssl/src/test/trsa.com | |||
| @@ -24,7 +24,9 @@ $ write sys$output "testing RSA conversions" | |||
| 24 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 24 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 25 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 25 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 26 | $ if f$search("f.*") .nes "" then delete f.*;* | 26 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 27 | $ copy 't' fff.p | 27 | $ convert/fdl=sys$input: 't' fff.p |
| 28 | RECORD | ||
| 29 | FORMAT STREAM_LF | ||
| 28 | $ | 30 | $ |
| 29 | $ write sys$output "p -> d" | 31 | $ write sys$output "p -> d" |
| 30 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 32 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/tsid.com b/src/lib/libssl/src/test/tsid.com index bde23f9bb9..abd1d4d737 100644 --- a/src/lib/libssl/src/test/tsid.com +++ b/src/lib/libssl/src/test/tsid.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing session-id conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/test/tx509.com b/src/lib/libssl/src/test/tx509.com index 985969c566..7b2592f773 100644 --- a/src/lib/libssl/src/test/tx509.com +++ b/src/lib/libssl/src/test/tx509.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing X509 conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/src/util/libeay.num b/src/lib/libssl/src/util/libeay.num index 512185e257..7e5728495f 100644 --- a/src/lib/libssl/src/util/libeay.num +++ b/src/lib/libssl/src/util/libeay.num | |||
| @@ -2792,3 +2792,4 @@ ASN1_UNIVERSALSTRING_it 3234 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIA | |||
| 2792 | ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: | 2792 | ASN1_UNIVERSALSTRING_it 3234 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: |
| 2793 | d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: | 2793 | d2i_ASN1_UNIVERSALSTRING 3235 EXIST::FUNCTION: |
| 2794 | EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES | 2794 | EVP_des_ede3_ecb 3236 EXIST::FUNCTION:DES |
| 2795 | X509_REQ_print_ex 3237 EXIST::FUNCTION:BIO | ||
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index d9949e8eb2..e9d1e896d7 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
| @@ -1462,6 +1462,7 @@ void ERR_load_SSL_strings(void); | |||
| 1462 | 1462 | ||
| 1463 | /* Function codes. */ | 1463 | /* Function codes. */ |
| 1464 | #define SSL_F_CLIENT_CERTIFICATE 100 | 1464 | #define SSL_F_CLIENT_CERTIFICATE 100 |
| 1465 | #define SSL_F_CLIENT_FINISHED 238 | ||
| 1465 | #define SSL_F_CLIENT_HELLO 101 | 1466 | #define SSL_F_CLIENT_HELLO 101 |
| 1466 | #define SSL_F_CLIENT_MASTER_KEY 102 | 1467 | #define SSL_F_CLIENT_MASTER_KEY 102 |
| 1467 | #define SSL_F_D2I_SSL_SESSION 103 | 1468 | #define SSL_F_D2I_SSL_SESSION 103 |
| @@ -1475,7 +1476,9 @@ void ERR_load_SSL_strings(void); | |||
| 1475 | #define SSL_F_I2D_SSL_SESSION 111 | 1476 | #define SSL_F_I2D_SSL_SESSION 111 |
| 1476 | #define SSL_F_READ_N 112 | 1477 | #define SSL_F_READ_N 112 |
| 1477 | #define SSL_F_REQUEST_CERTIFICATE 113 | 1478 | #define SSL_F_REQUEST_CERTIFICATE 113 |
| 1479 | #define SSL_F_SERVER_FINISH 239 | ||
| 1478 | #define SSL_F_SERVER_HELLO 114 | 1480 | #define SSL_F_SERVER_HELLO 114 |
| 1481 | #define SSL_F_SERVER_VERIFY 240 | ||
| 1479 | #define SSL_F_SSL23_ACCEPT 115 | 1482 | #define SSL_F_SSL23_ACCEPT 115 |
| 1480 | #define SSL_F_SSL23_CLIENT_HELLO 116 | 1483 | #define SSL_F_SSL23_CLIENT_HELLO 116 |
| 1481 | #define SSL_F_SSL23_CONNECT 117 | 1484 | #define SSL_F_SSL23_CONNECT 117 |
| @@ -1487,6 +1490,7 @@ void ERR_load_SSL_strings(void); | |||
| 1487 | #define SSL_F_SSL2_ACCEPT 122 | 1490 | #define SSL_F_SSL2_ACCEPT 122 |
| 1488 | #define SSL_F_SSL2_CONNECT 123 | 1491 | #define SSL_F_SSL2_CONNECT 123 |
| 1489 | #define SSL_F_SSL2_ENC_INIT 124 | 1492 | #define SSL_F_SSL2_ENC_INIT 124 |
| 1493 | #define SSL_F_SSL2_GENERATE_KEY_MATERIAL 241 | ||
| 1490 | #define SSL_F_SSL2_PEEK 234 | 1494 | #define SSL_F_SSL2_PEEK 234 |
| 1491 | #define SSL_F_SSL2_READ 125 | 1495 | #define SSL_F_SSL2_READ 125 |
| 1492 | #define SSL_F_SSL2_READ_INTERNAL 236 | 1496 | #define SSL_F_SSL2_READ_INTERNAL 236 |
| @@ -1523,6 +1527,7 @@ void ERR_load_SSL_strings(void); | |||
| 1523 | #define SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE 152 | 1527 | #define SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE 152 |
| 1524 | #define SSL_F_SSL3_SEND_CLIENT_VERIFY 153 | 1528 | #define SSL_F_SSL3_SEND_CLIENT_VERIFY 153 |
| 1525 | #define SSL_F_SSL3_SEND_SERVER_CERTIFICATE 154 | 1529 | #define SSL_F_SSL3_SEND_SERVER_CERTIFICATE 154 |
| 1530 | #define SSL_F_SSL3_SEND_SERVER_HELLO 242 | ||
| 1526 | #define SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE 155 | 1531 | #define SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE 155 |
| 1527 | #define SSL_F_SSL3_SETUP_BUFFERS 156 | 1532 | #define SSL_F_SSL3_SETUP_BUFFERS 156 |
| 1528 | #define SSL_F_SSL3_SETUP_KEY_BLOCK 157 | 1533 | #define SSL_F_SSL3_SETUP_KEY_BLOCK 157 |
| @@ -1747,6 +1752,7 @@ void ERR_load_SSL_strings(void); | |||
| 1747 | #define SSL_R_SHORT_READ 219 | 1752 | #define SSL_R_SHORT_READ 219 |
| 1748 | #define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220 | 1753 | #define SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE 220 |
| 1749 | #define SSL_R_SSL23_DOING_SESSION_ID_REUSE 221 | 1754 | #define SSL_R_SSL23_DOING_SESSION_ID_REUSE 221 |
| 1755 | #define SSL_R_SSL2_CONNECTION_ID_TOO_LONG 1114 | ||
| 1750 | #define SSL_R_SSL3_SESSION_ID_TOO_LONG 1113 | 1756 | #define SSL_R_SSL3_SESSION_ID_TOO_LONG 1113 |
| 1751 | #define SSL_R_SSL3_SESSION_ID_TOO_SHORT 222 | 1757 | #define SSL_R_SSL3_SESSION_ID_TOO_SHORT 222 |
| 1752 | #define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042 | 1758 | #define SSL_R_SSLV3_ALERT_BAD_CERTIFICATE 1042 |
diff --git a/src/lib/libssl/ssl_asn1.c b/src/lib/libssl/ssl_asn1.c index c550747947..23bfe44e21 100644 --- a/src/lib/libssl/ssl_asn1.c +++ b/src/lib/libssl/ssl_asn1.c | |||
| @@ -57,8 +57,8 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | #include "ssl_locl.h" | ||
| 61 | #include <stdlib.h> | 60 | #include <stdlib.h> |
| 61 | #include "ssl_locl.h" | ||
| 62 | #include <openssl/asn1_mac.h> | 62 | #include <openssl/asn1_mac.h> |
| 63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
| 64 | #include <openssl/x509.h> | 64 | #include <openssl/x509.h> |
| @@ -293,10 +293,11 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, unsigned char **pp, | |||
| 293 | i=SSL2_MAX_SSL_SESSION_ID_LENGTH; | 293 | i=SSL2_MAX_SSL_SESSION_ID_LENGTH; |
| 294 | 294 | ||
| 295 | if (os.length > i) | 295 | if (os.length > i) |
| 296 | os.length=i; | 296 | os.length = i; |
| 297 | if (os.length > sizeof ret->session_id) /* can't happen */ | ||
| 298 | os.length = sizeof ret->session_id; | ||
| 297 | 299 | ||
| 298 | ret->session_id_length=os.length; | 300 | ret->session_id_length=os.length; |
| 299 | die(os.length <= sizeof ret->session_id); | ||
| 300 | memcpy(ret->session_id,os.data,os.length); | 301 | memcpy(ret->session_id,os.data,os.length); |
| 301 | 302 | ||
| 302 | M_ASN1_D2I_get(osp,d2i_ASN1_OCTET_STRING); | 303 | M_ASN1_D2I_get(osp,d2i_ASN1_OCTET_STRING); |
diff --git a/src/lib/libssl/ssl_err.c b/src/lib/libssl/ssl_err.c index 0cad32c855..7067a745f3 100644 --- a/src/lib/libssl/ssl_err.c +++ b/src/lib/libssl/ssl_err.c | |||
| @@ -67,6 +67,7 @@ | |||
| 67 | static ERR_STRING_DATA SSL_str_functs[]= | 67 | static ERR_STRING_DATA SSL_str_functs[]= |
| 68 | { | 68 | { |
| 69 | {ERR_PACK(0,SSL_F_CLIENT_CERTIFICATE,0), "CLIENT_CERTIFICATE"}, | 69 | {ERR_PACK(0,SSL_F_CLIENT_CERTIFICATE,0), "CLIENT_CERTIFICATE"}, |
| 70 | {ERR_PACK(0,SSL_F_CLIENT_FINISHED,0), "CLIENT_FINISHED"}, | ||
| 70 | {ERR_PACK(0,SSL_F_CLIENT_HELLO,0), "CLIENT_HELLO"}, | 71 | {ERR_PACK(0,SSL_F_CLIENT_HELLO,0), "CLIENT_HELLO"}, |
| 71 | {ERR_PACK(0,SSL_F_CLIENT_MASTER_KEY,0), "CLIENT_MASTER_KEY"}, | 72 | {ERR_PACK(0,SSL_F_CLIENT_MASTER_KEY,0), "CLIENT_MASTER_KEY"}, |
| 72 | {ERR_PACK(0,SSL_F_D2I_SSL_SESSION,0), "d2i_SSL_SESSION"}, | 73 | {ERR_PACK(0,SSL_F_D2I_SSL_SESSION,0), "d2i_SSL_SESSION"}, |
| @@ -80,7 +81,9 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 80 | {ERR_PACK(0,SSL_F_I2D_SSL_SESSION,0), "i2d_SSL_SESSION"}, | 81 | {ERR_PACK(0,SSL_F_I2D_SSL_SESSION,0), "i2d_SSL_SESSION"}, |
| 81 | {ERR_PACK(0,SSL_F_READ_N,0), "READ_N"}, | 82 | {ERR_PACK(0,SSL_F_READ_N,0), "READ_N"}, |
| 82 | {ERR_PACK(0,SSL_F_REQUEST_CERTIFICATE,0), "REQUEST_CERTIFICATE"}, | 83 | {ERR_PACK(0,SSL_F_REQUEST_CERTIFICATE,0), "REQUEST_CERTIFICATE"}, |
| 84 | {ERR_PACK(0,SSL_F_SERVER_FINISH,0), "SERVER_FINISH"}, | ||
| 83 | {ERR_PACK(0,SSL_F_SERVER_HELLO,0), "SERVER_HELLO"}, | 85 | {ERR_PACK(0,SSL_F_SERVER_HELLO,0), "SERVER_HELLO"}, |
| 86 | {ERR_PACK(0,SSL_F_SERVER_VERIFY,0), "SERVER_VERIFY"}, | ||
| 84 | {ERR_PACK(0,SSL_F_SSL23_ACCEPT,0), "SSL23_ACCEPT"}, | 87 | {ERR_PACK(0,SSL_F_SSL23_ACCEPT,0), "SSL23_ACCEPT"}, |
| 85 | {ERR_PACK(0,SSL_F_SSL23_CLIENT_HELLO,0), "SSL23_CLIENT_HELLO"}, | 88 | {ERR_PACK(0,SSL_F_SSL23_CLIENT_HELLO,0), "SSL23_CLIENT_HELLO"}, |
| 86 | {ERR_PACK(0,SSL_F_SSL23_CONNECT,0), "SSL23_CONNECT"}, | 89 | {ERR_PACK(0,SSL_F_SSL23_CONNECT,0), "SSL23_CONNECT"}, |
| @@ -92,6 +95,7 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 92 | {ERR_PACK(0,SSL_F_SSL2_ACCEPT,0), "SSL2_ACCEPT"}, | 95 | {ERR_PACK(0,SSL_F_SSL2_ACCEPT,0), "SSL2_ACCEPT"}, |
| 93 | {ERR_PACK(0,SSL_F_SSL2_CONNECT,0), "SSL2_CONNECT"}, | 96 | {ERR_PACK(0,SSL_F_SSL2_CONNECT,0), "SSL2_CONNECT"}, |
| 94 | {ERR_PACK(0,SSL_F_SSL2_ENC_INIT,0), "SSL2_ENC_INIT"}, | 97 | {ERR_PACK(0,SSL_F_SSL2_ENC_INIT,0), "SSL2_ENC_INIT"}, |
| 98 | {ERR_PACK(0,SSL_F_SSL2_GENERATE_KEY_MATERIAL,0), "SSL2_GENERATE_KEY_MATERIAL"}, | ||
| 95 | {ERR_PACK(0,SSL_F_SSL2_PEEK,0), "SSL2_PEEK"}, | 99 | {ERR_PACK(0,SSL_F_SSL2_PEEK,0), "SSL2_PEEK"}, |
| 96 | {ERR_PACK(0,SSL_F_SSL2_READ,0), "SSL2_READ"}, | 100 | {ERR_PACK(0,SSL_F_SSL2_READ,0), "SSL2_READ"}, |
| 97 | {ERR_PACK(0,SSL_F_SSL2_READ_INTERNAL,0), "SSL2_READ_INTERNAL"}, | 101 | {ERR_PACK(0,SSL_F_SSL2_READ_INTERNAL,0), "SSL2_READ_INTERNAL"}, |
| @@ -128,6 +132,7 @@ static ERR_STRING_DATA SSL_str_functs[]= | |||
| 128 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE,0), "SSL3_SEND_CLIENT_KEY_EXCHANGE"}, | 132 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_KEY_EXCHANGE,0), "SSL3_SEND_CLIENT_KEY_EXCHANGE"}, |
| 129 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_VERIFY,0), "SSL3_SEND_CLIENT_VERIFY"}, | 133 | {ERR_PACK(0,SSL_F_SSL3_SEND_CLIENT_VERIFY,0), "SSL3_SEND_CLIENT_VERIFY"}, |
| 130 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_CERTIFICATE,0), "SSL3_SEND_SERVER_CERTIFICATE"}, | 134 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_CERTIFICATE,0), "SSL3_SEND_SERVER_CERTIFICATE"}, |
| 135 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_HELLO,0), "SSL3_SEND_SERVER_HELLO"}, | ||
| 131 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE,0), "SSL3_SEND_SERVER_KEY_EXCHANGE"}, | 136 | {ERR_PACK(0,SSL_F_SSL3_SEND_SERVER_KEY_EXCHANGE,0), "SSL3_SEND_SERVER_KEY_EXCHANGE"}, |
| 132 | {ERR_PACK(0,SSL_F_SSL3_SETUP_BUFFERS,0), "SSL3_SETUP_BUFFERS"}, | 137 | {ERR_PACK(0,SSL_F_SSL3_SETUP_BUFFERS,0), "SSL3_SETUP_BUFFERS"}, |
| 133 | {ERR_PACK(0,SSL_F_SSL3_SETUP_KEY_BLOCK,0), "SSL3_SETUP_KEY_BLOCK"}, | 138 | {ERR_PACK(0,SSL_F_SSL3_SETUP_KEY_BLOCK,0), "SSL3_SETUP_KEY_BLOCK"}, |
| @@ -355,6 +360,7 @@ static ERR_STRING_DATA SSL_str_reasons[]= | |||
| 355 | {SSL_R_SHORT_READ ,"short read"}, | 360 | {SSL_R_SHORT_READ ,"short read"}, |
| 356 | {SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,"signature for non signing certificate"}, | 361 | {SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,"signature for non signing certificate"}, |
| 357 | {SSL_R_SSL23_DOING_SESSION_ID_REUSE ,"ssl23 doing session id reuse"}, | 362 | {SSL_R_SSL23_DOING_SESSION_ID_REUSE ,"ssl23 doing session id reuse"}, |
| 363 | {SSL_R_SSL2_CONNECTION_ID_TOO_LONG ,"ssl2 connection id too long"}, | ||
| 358 | {SSL_R_SSL3_SESSION_ID_TOO_LONG ,"ssl3 session id too long"}, | 364 | {SSL_R_SSL3_SESSION_ID_TOO_LONG ,"ssl3 session id too long"}, |
| 359 | {SSL_R_SSL3_SESSION_ID_TOO_SHORT ,"ssl3 session id too short"}, | 365 | {SSL_R_SSL3_SESSION_ID_TOO_SHORT ,"ssl3 session id too short"}, |
| 360 | {SSL_R_SSLV3_ALERT_BAD_CERTIFICATE ,"sslv3 alert bad certificate"}, | 366 | {SSL_R_SSLV3_ALERT_BAD_CERTIFICATE ,"sslv3 alert bad certificate"}, |
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index 4a87a146e3..4bc4ce5b3a 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
| @@ -1405,13 +1405,24 @@ void SSL_CTX_free(SSL_CTX *a) | |||
| 1405 | abort(); /* ok */ | 1405 | abort(); /* ok */ |
| 1406 | } | 1406 | } |
| 1407 | #endif | 1407 | #endif |
| 1408 | CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); | ||
| 1409 | 1408 | ||
| 1409 | /* | ||
| 1410 | * Free internal session cache. However: the remove_cb() may reference | ||
| 1411 | * the ex_data of SSL_CTX, thus the ex_data store can only be removed | ||
| 1412 | * after the sessions were flushed. | ||
| 1413 | * As the ex_data handling routines might also touch the session cache, | ||
| 1414 | * the most secure solution seems to be: empty (flush) the cache, then | ||
| 1415 | * free ex_data, then finally free the cache. | ||
| 1416 | * (See ticket [openssl.org #212].) | ||
| 1417 | */ | ||
| 1410 | if (a->sessions != NULL) | 1418 | if (a->sessions != NULL) |
| 1411 | { | ||
| 1412 | SSL_CTX_flush_sessions(a,0); | 1419 | SSL_CTX_flush_sessions(a,0); |
| 1420 | |||
| 1421 | CRYPTO_free_ex_data(CRYPTO_EX_INDEX_SSL_CTX, a, &a->ex_data); | ||
| 1422 | |||
| 1423 | if (a->sessions != NULL) | ||
| 1413 | lh_free(a->sessions); | 1424 | lh_free(a->sessions); |
| 1414 | } | 1425 | |
| 1415 | if (a->cert_store != NULL) | 1426 | if (a->cert_store != NULL) |
| 1416 | X509_STORE_free(a->cert_store); | 1427 | X509_STORE_free(a->cert_store); |
| 1417 | if (a->cipher_list != NULL) | 1428 | if (a->cipher_list != NULL) |
| @@ -2289,10 +2300,3 @@ void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, int con | |||
| 2289 | 2300 | ||
| 2290 | IMPLEMENT_STACK_OF(SSL_CIPHER) | 2301 | IMPLEMENT_STACK_OF(SSL_CIPHER) |
| 2291 | IMPLEMENT_STACK_OF(SSL_COMP) | 2302 | IMPLEMENT_STACK_OF(SSL_COMP) |
| 2292 | |||
| 2293 | void OpenSSLDie(const char *file,int line,const char *assertion) | ||
| 2294 | { | ||
| 2295 | fprintf(stderr,"%s(%d): OpenSSL internal error, assertion failed: %s\n", | ||
| 2296 | file,line,assertion); | ||
| 2297 | abort(); | ||
| 2298 | } | ||
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 4c77e27acc..dd6c7a7323 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -510,7 +510,7 @@ STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s); | |||
| 510 | int ssl_verify_alarm_type(long type); | 510 | int ssl_verify_alarm_type(long type); |
| 511 | 511 | ||
| 512 | int ssl2_enc_init(SSL *s, int client); | 512 | int ssl2_enc_init(SSL *s, int client); |
| 513 | void ssl2_generate_key_material(SSL *s); | 513 | int ssl2_generate_key_material(SSL *s); |
| 514 | void ssl2_enc(SSL *s,int send_data); | 514 | void ssl2_enc(SSL *s,int send_data); |
| 515 | void ssl2_mac(SSL *s,unsigned char *mac,int send_data); | 515 | void ssl2_mac(SSL *s,unsigned char *mac,int send_data); |
| 516 | SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p); | 516 | SSL_CIPHER *ssl2_get_cipher_by_char(const unsigned char *p); |
| @@ -616,8 +616,5 @@ int ssl_ok(SSL *s); | |||
| 616 | SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); | 616 | SSL_COMP *ssl3_comp_find(STACK_OF(SSL_COMP) *sk, int n); |
| 617 | STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void); | 617 | STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void); |
| 618 | 618 | ||
| 619 | /* die if we have to */ | ||
| 620 | void OpenSSLDie(const char *file,int line,const char *assertion); | ||
| 621 | #define die(e) ((e) ? (void)0 : OpenSSLDie(__FILE__, __LINE__, #e)) | ||
| 622 | 619 | ||
| 623 | #endif | 620 | #endif |
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index a0c3100b29..664f8c2230 100644 --- a/src/lib/libssl/ssl_sess.c +++ b/src/lib/libssl/ssl_sess.c | |||
| @@ -250,7 +250,12 @@ int ssl_get_new_session(SSL *s, int session) | |||
| 250 | ss->session_id_length=0; | 250 | ss->session_id_length=0; |
| 251 | } | 251 | } |
| 252 | 252 | ||
| 253 | die(s->sid_ctx_length <= sizeof ss->sid_ctx); | 253 | if (s->sid_ctx_length > sizeof ss->sid_ctx) |
| 254 | { | ||
| 255 | SSLerr(SSL_F_SSL_GET_NEW_SESSION, ERR_R_INTERNAL_ERROR); | ||
| 256 | SSL_SESSION_free(ss); | ||
| 257 | return 0; | ||
| 258 | } | ||
| 254 | memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); | 259 | memcpy(ss->sid_ctx,s->sid_ctx,s->sid_ctx_length); |
| 255 | ss->sid_ctx_length=s->sid_ctx_length; | 260 | ss->sid_ctx_length=s->sid_ctx_length; |
| 256 | s->session=ss; | 261 | s->session=ss; |
diff --git a/src/lib/libssl/test/Makefile.ssl b/src/lib/libssl/test/Makefile.ssl index c1408021ba..f489332a65 100644 --- a/src/lib/libssl/test/Makefile.ssl +++ b/src/lib/libssl/test/Makefile.ssl | |||
| @@ -224,7 +224,7 @@ test_ec: | |||
| 224 | test_verify: | 224 | test_verify: |
| 225 | @echo "The following command should have some OK's and some failures" | 225 | @echo "The following command should have some OK's and some failures" |
| 226 | @echo "There are definitly a few expired certificates" | 226 | @echo "There are definitly a few expired certificates" |
| 227 | ../apps/openssl verify -CApath ../certs ../certs/*.pem | 227 | -../apps/openssl verify -CApath ../certs ../certs/*.pem |
| 228 | 228 | ||
| 229 | test_dh: | 229 | test_dh: |
| 230 | @echo "Generate a set of DH parameters" | 230 | @echo "Generate a set of DH parameters" |
diff --git a/src/lib/libssl/test/maketests.com b/src/lib/libssl/test/maketests.com index b3bf8bb837..91e859deab 100644 --- a/src/lib/libssl/test/maketests.com +++ b/src/lib/libssl/test/maketests.com | |||
| @@ -887,7 +887,7 @@ $ CC = CC + "/DEFINE=(" + CCDEFS + ")" + CCDISABLEWARNINGS | |||
| 887 | $! | 887 | $! |
| 888 | $! Show user the result | 888 | $! Show user the result |
| 889 | $! | 889 | $! |
| 890 | $ WRITE SYS$OUTPUT "Main Compiling Command: ",CC | 890 | $ WRITE/SYMBOL SYS$OUTPUT "Main Compiling Command: ",CC |
| 891 | $! | 891 | $! |
| 892 | $! Else The User Entered An Invalid Arguement. | 892 | $! Else The User Entered An Invalid Arguement. |
| 893 | $! | 893 | $! |
diff --git a/src/lib/libssl/test/tcrl.com b/src/lib/libssl/test/tcrl.com index 2e6ab2814d..86bf9735aa 100644 --- a/src/lib/libssl/test/tcrl.com +++ b/src/lib/libssl/test/tcrl.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing CRL conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/testenc.com b/src/lib/libssl/test/testenc.com index 3b66f2e0d0..c24fa388c0 100644 --- a/src/lib/libssl/test/testenc.com +++ b/src/lib/libssl/test/testenc.com | |||
| @@ -9,7 +9,9 @@ $ test := p.txt | |||
| 9 | $ cmd := mcr 'exe_dir'openssl | 9 | $ cmd := mcr 'exe_dir'openssl |
| 10 | $ | 10 | $ |
| 11 | $ if f$search(test) .nes. "" then delete 'test';* | 11 | $ if f$search(test) .nes. "" then delete 'test';* |
| 12 | $ copy 'testsrc' 'test' | 12 | $ convert/fdl=sys$input: 'testsrc' 'test' |
| 13 | RECORD | ||
| 14 | FORMAT STREAM_LF | ||
| 13 | $ | 15 | $ |
| 14 | $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* | 16 | $ if f$search(test+"-cipher") .nes. "" then delete 'test'-cipher;* |
| 15 | $ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* | 17 | $ if f$search(test+"-clear") .nes. "" then delete 'test'-clear;* |
diff --git a/src/lib/libssl/test/tpkcs7.com b/src/lib/libssl/test/tpkcs7.com index 9e345937c6..047834fba4 100644 --- a/src/lib/libssl/test/tpkcs7.com +++ b/src/lib/libssl/test/tpkcs7.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing PKCS7 conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/tpkcs7d.com b/src/lib/libssl/test/tpkcs7d.com index 7d4f8794a4..193bb72137 100644 --- a/src/lib/libssl/test/tpkcs7d.com +++ b/src/lib/libssl/test/tpkcs7d.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing PKCS7 conversions (2)" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/treq.com b/src/lib/libssl/test/treq.com index 22c22c3aa9..5524e485ba 100644 --- a/src/lib/libssl/test/treq.com +++ b/src/lib/libssl/test/treq.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing req conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/trsa.com b/src/lib/libssl/test/trsa.com index 6b6c318e2b..6dbe59ef64 100644 --- a/src/lib/libssl/test/trsa.com +++ b/src/lib/libssl/test/trsa.com | |||
| @@ -24,7 +24,9 @@ $ write sys$output "testing RSA conversions" | |||
| 24 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 24 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 25 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 25 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 26 | $ if f$search("f.*") .nes "" then delete f.*;* | 26 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 27 | $ copy 't' fff.p | 27 | $ convert/fdl=sys$input: 't' fff.p |
| 28 | RECORD | ||
| 29 | FORMAT STREAM_LF | ||
| 28 | $ | 30 | $ |
| 29 | $ write sys$output "p -> d" | 31 | $ write sys$output "p -> d" |
| 30 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 32 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/tsid.com b/src/lib/libssl/test/tsid.com index bde23f9bb9..abd1d4d737 100644 --- a/src/lib/libssl/test/tsid.com +++ b/src/lib/libssl/test/tsid.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing session-id conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
diff --git a/src/lib/libssl/test/tx509.com b/src/lib/libssl/test/tx509.com index 985969c566..7b2592f773 100644 --- a/src/lib/libssl/test/tx509.com +++ b/src/lib/libssl/test/tx509.com | |||
| @@ -13,7 +13,9 @@ $ write sys$output "testing X509 conversions" | |||
| 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* | 13 | $ if f$search("fff.*") .nes "" then delete fff.*;* |
| 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* | 14 | $ if f$search("ff.*") .nes "" then delete ff.*;* |
| 15 | $ if f$search("f.*") .nes "" then delete f.*;* | 15 | $ if f$search("f.*") .nes "" then delete f.*;* |
| 16 | $ copy 't' fff.p | 16 | $ convert/fdl=sys$input: 't' fff.p |
| 17 | RECORD | ||
| 18 | FORMAT STREAM_LF | ||
| 17 | $ | 19 | $ |
| 18 | $ write sys$output "p -> d" | 20 | $ write sys$output "p -> d" |
| 19 | $ 'cmd' -in fff.p -inform p -outform d -out f.d | 21 | $ 'cmd' -in fff.p -inform p -outform d -out f.d |
