diff options
author | Ben Laurie <ben@openssl.org> | 1999-01-06 23:18:08 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 1999-01-06 23:18:08 +0000 |
commit | 5b00115ab0d1e19f374a8feb20e003514e03a7cb (patch) | |
tree | 728297aee3dab86f71782311f8c3f17ba04c7de8 /ssl | |
parent | f8c3c05db95bd30671bd713ea42d26c6d262c36b (diff) |
Fix export tests.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_srvr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 743f8ea235..4e856b3ce8 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -915,8 +915,8 @@ SSL *s; if ((rsa == NULL) && (s->ctx->default_cert->rsa_tmp_cb != NULL)) { rsa=s->ctx->default_cert->rsa_tmp_cb(s, - (s->s3->tmp.new_cipher->algorithms| - SSL_NOT_EXP)?0:1); + !(s->s3->tmp.new_cipher->algorithms + &SSL_NOT_EXP)); CRYPTO_add(&rsa->references,1,CRYPTO_LOCK_RSA); cert->rsa_tmp=rsa; } @@ -938,8 +938,8 @@ SSL *s; dhp=cert->dh_tmp; if ((dhp == NULL) && (cert->dh_tmp_cb != NULL)) dhp=cert->dh_tmp_cb(s, - (s->s3->tmp.new_cipher->algorithms| - SSL_NOT_EXP)?0:1); + !(s->s3->tmp.new_cipher->algorithms + &SSL_NOT_EXP)); if (dhp == NULL) { al=SSL_AD_HANDSHAKE_FAILURE; |