bin ich blöd oder was?

This commit is contained in:
Marc Wäckerlin
2009-11-02 14:44:26 +00:00
parent 68dcd1df4b
commit e8d763cf89
3 changed files with 6 additions and 8 deletions

View File

@@ -1 +1 @@
/usr/share/automake-1.10/COPYING
/usr/share/automake-1.11/COPYING

View File

@@ -1 +1 @@
/usr/share/automake-1.10/INSTALL
/usr/share/automake-1.11/INSTALL

View File

@@ -610,12 +610,10 @@ namespace openssl {
}
//! Check whether it's a CA certificate.
bool isCa() {
static BASIC_CONSTRAINTS* bc(0);
if (!bc) {
BASIC_CONSTRAINTS* bc(0);
int pos(X509_get_ext_by_NID(_x509, NID_basic_constraints, -1));
if (pos>=0)
bc = (BASIC_CONSTRAINTS*)X509V3_EXT_d2i(X509_get_ext(_x509, pos));
}
return bc&&bc->ca;
}
//! Get organizational unit name.