Hi,

I have a question about SSL_add_dir_cert_subjects_to_stack(), especially its
definition for OpenVMS(VMS).

First, please take a look at the currect definitions.
---------------------------------------------------------------------------
In SSL.H :
/* VMS uses only 31 characters for symbols. */
#ifdef VMS
#define SSL_add_dir_cert_subjects_to_stack SSL_add_dir_cert_sub_to_stack
#endif

--------------
In SYMHACKS.H :
/* Hacks to solve the problem with linkers incapable of handling very long
   symbol names.  In the case of VMS, the limit is 31 characters on VMS for
   VAX. */
#ifdef VMS
#define SSL_add_dir_cert_subjects_to_stack      SSL_add_dir_cert_subjs_to_stk
#endif /* defined VMS */

---------------
In SSLEAY.NUM :
SSL_add_dir_cert_subjects_to_stack      188     NOEXIST::FUNCTION:
SSL_add_dir_cert_subjs_to_stk           188     EXIST:VMS:FUNCTION:

---------------
In SSL_CERT.C :

#ifndef WIN32
#ifndef VMS                     /* XXXX This may be fixed in the future */
#ifndef MAC_OS_pre_X

int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *stack,
                                       const char *dir)
-------------------------------------------------------------------------------

According to the SSLEAY.NUM, SSL_add_dir_cert_subjects_to_stack() is a non-exist
function (although it's implemented for UNIX in SSL_CERT.C). 
But SSL_add_dir_cert_subjs_to_stk(), the SSL_add_dir_cert_subjects_to_stack()'s 
equivalent for VMS, exists (EXIST:VMS:FUNCTION:).  As 
SSL_add_dir_cert_subjects_to_stack()
is not complied for WIN32, VMS and MAC_OS_pre_X, actually 
SSL_add_dir_cert_subjs_to_stk() is
not available for VMS.  So can I regard SSL_add_dir_cert_subjs_to_stk as a non-exist
API as well?

Also should SSL_add_dir_cert_sub_to_stack() in SSL.H be ignored?
It's not found in SSLEAY.NUM.

If I could get how those APIs in the files will be changed for the future releases, 
I'm very grateful.

Thanks,
Taka
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to