This is a crucial one for talking with export clients (you know,
limited to 40 bit keys and so on...), since SSL_EXPORT is *not* within
SSL_MKEY_MASK or SSL_AUTH_MASK. The extended printf's are for added clarity.
Index: ssl/s3_lib.c
RCS file: /src/packages/openssl/repository/openssl/ssl/s3_lib.c,v
retrieving revision 1.8
diff -u -r1.8 s3_lib.c
--- ssl/s3_lib.c 1999/02/16 09:22:18 1.8
+++ ssl/s3_lib.c 1999/02/17 07:28:36
@@ -733,18 +733,18 @@
{
c algÊlgorithms&(SSL_MKEY_MASK|SSL_AUTH_MASK);
- if (alg & SSL_EXPORT)
+ if (c->algorithms & SSL_EXPORT)
{
ok #ifdef CIPHER_DEBUG
- printf("%d:[%08lX:%08lX]%s\n",ok,alg,mask,c->name);
+ printf("%d:[%08lX:%08lX]%s (export)\n",ok,alg,emask,c->name);
#endif
}
else
{
ok #ifdef CIPHER_DEBUG
- printf("%d:[%08lX:%08lX]%s\n",ok,alg,mask,c->name);
+ printf("%d:[%08lX:%08lX]%s (no export)\n",ok,alg,mask,c->name);
#endif
}
--
Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED]
Vice Chairman and \ S-161 43 BROMMA \ T: +46-8-26 52 47
Redakteur @ Stacken \ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]