It seems that NID_uniqueIdentifier has been removed in the latest
OpenSSL snapshots (0.9.8). (OpenSSL 0.9.6c doesn't correctly
init the PRNG on my Linux box - go figure.)
Is there any reason not to commit this? I could check for the
version, but an even simpler check is to see if that variable
has been defined. -- justin
Index: ssl_engine_vars.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_engine_vars.c,v
retrieving revision 1.18
diff -u -r1.18 ssl_engine_vars.c
--- ssl_engine_vars.c 27 Mar 2002 19:38:05 -0000 1.18
+++ ssl_engine_vars.c 17 Apr 2002 07:39:15 -0000
@@ -395,7 +395,10 @@
{ "G", NID_givenName },
{ "S", NID_surname },
{ "D", NID_description },
+/* This has been removed in OpenSSL 0.9.8-dev. */
+#ifdef NID_uniqueIdentifier
{ "UID", NID_uniqueIdentifier },
+#endif
{ "Email", NID_pkcs9_emailAddress },
{ NULL, 0 }
};