Make SubjectAltEncode a public function. Fixes build breakage in Linux

This commit is contained in:
relyea%netscape.com 2002-12-10 17:41:16 +00:00
parent 1e02f10049
commit 5a83c35578
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,7 @@
/*
* cert.h - public data structures and prototypes for the certificate library
*
* $Id: cert.h,v 1.29 2002/11/15 05:03:53 jpierre%netscape.com Exp $
* $Id: cert.h,v 1.30 2002/12/10 17:41:16 relyea%netscape.com Exp $
*/
#ifndef _CERT_H_
@ -785,6 +785,11 @@ extern SECStatus CERT_EncodeAndAddExtension
extern SECStatus CERT_EncodeAndAddBitStrExtension
(void *exthandle, int idtag, SECItem *value, PRBool critical);
extern SECStatus
CERT_EncodeAltNameExtension(PRArenaPool *arena, CERTGeneralName *value, SECItem *encodedValue);
/*
** Finish adding cert extensions. Does final processing on extension
** data, putting it in the right format, and freeing any temporary

View File

@ -57,9 +57,6 @@ extern SECStatus
CERT_EncodePublicKeyUsagePeriod(PRArenaPool *arena, PKUPEncodedContext *pkup,
SECItem *encodedValue);
extern SECStatus
CERT_EncodeAltNameExtension(PRArenaPool *arena, CERTGeneralName *value, SECItem *encodedValue);
extern SECStatus
CERT_EncodeNameConstraintsExtension(PRArenaPool *arena, CERTNameConstraints *value,
SECItem *encodedValue);