зеркало из https://github.com/mozilla/gecko-dev.git
Bugzilla bug 248435: declare the exported functions CERT_DecodeGeneralName
and CERT_EncodeGeneralName in the public header cert.h. r=jpierre. Modified Files: cert.h genname.h xconst.c
This commit is contained in:
Родитель
7d4312d780
Коммит
3b305b181f
|
@ -37,7 +37,7 @@
|
|||
/*
|
||||
* cert.h - public data structures and prototypes for the certificate library
|
||||
*
|
||||
* $Id: cert.h,v 1.47 2004/07/07 00:48:53 wchang0222%aol.com Exp $
|
||||
* $Id: cert.h,v 1.48 2004/11/09 06:13:32 wchang0222%aol.com Exp $
|
||||
*/
|
||||
|
||||
#ifndef _CERT_H_
|
||||
|
@ -323,6 +323,14 @@ extern SECStatus CERT_NameFromDERCert(SECItem *derCert, SECItem *derName);
|
|||
extern SECStatus CERT_IssuerNameFromDERCert(SECItem *derCert,
|
||||
SECItem *derName);
|
||||
|
||||
extern SECItem *
|
||||
CERT_EncodeGeneralName(CERTGeneralName *genName, SECItem *dest,
|
||||
PRArenaPool *arena);
|
||||
|
||||
extern CERTGeneralName *
|
||||
CERT_DecodeGeneralName(PRArenaPool *arena, SECItem *encodedName,
|
||||
CERTGeneralName *genName);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -49,17 +49,9 @@ SEC_BEGIN_PROTOS
|
|||
|
||||
extern const SEC_ASN1Template CERT_GeneralNamesTemplate[];
|
||||
|
||||
extern SECItem *
|
||||
CERT_EncodeGeneralName(CERTGeneralName *genName, SECItem *dest,
|
||||
PRArenaPool *arena);
|
||||
|
||||
extern SECItem **
|
||||
cert_EncodeGeneralNames(PRArenaPool *arena, CERTGeneralName *names);
|
||||
|
||||
extern CERTGeneralName *
|
||||
CERT_DecodeGeneralName(PRArenaPool *arena, SECItem *encodedName,
|
||||
CERTGeneralName *genName);
|
||||
|
||||
extern CERTGeneralName *
|
||||
cert_DecodeGeneralNames(PRArenaPool *arena, SECItem **encodedGenName);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
#include "secoidt.h"
|
||||
#include "secasn1t.h"
|
||||
#include "secasn1.h"
|
||||
#include "certt.h"
|
||||
#include "cert.h"
|
||||
#include "secder.h"
|
||||
#include "prprf.h"
|
||||
#include "xconst.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче