added x509_ prefix to imported parse functions
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 12 Oct 2007 21:53:18 +0000 (21:53 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 12 Oct 2007 21:53:18 +0000 (21:53 -0000)
src/libstrongswan/crypto/ac.c
src/libstrongswan/crypto/ac.h
src/libstrongswan/crypto/crl.c
src/libstrongswan/crypto/crl.h

index 277b7cc..9aca701 100644 (file)
@@ -19,6 +19,8 @@
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
+ *
+ * RCSID $Id$
  */
 
 #include <string.h>
@@ -304,7 +306,7 @@ static bool parse_directoryName(chunk_t blob, int level, bool implicit, identifi
        bool has_directoryName;
        linked_list_t *list = linked_list_create();
 
-       parse_generalNames(blob, level, implicit, list);
+       x509_parse_generalNames(blob, level, implicit, list);
        has_directoryName = list->get_count(list) > 0;
 
        if (has_directoryName)
@@ -480,7 +482,7 @@ static bool parse_certificate(chunk_t blob, private_x509ac_t *this)
                                                        DBG2("  need to parse crlDistributionPoints");
                                                        break;
                                                case OID_AUTHORITY_KEY_ID:
-                                                       parse_authorityKeyIdentifier(object, level,
+                                                       x509_parse_authorityKeyIdentifier(object, level,
                                                                        &this->authKeyID, &this->authKeySerialNumber);
                                                        break;
                                                case OID_TARGET_INFORMATION:
index 9ef145e..045c458 100644 (file)
@@ -21,6 +21,8 @@
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
+ *
+ * RCSID $Id$
  */
 
 #ifndef AC_H_
index 214cfb1..14f9df6 100755 (executable)
@@ -18,6 +18,8 @@
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
+ *
+ * RCSID $Id$
  */
 
 #include <sys/stat.h>
@@ -290,7 +292,8 @@ bool parse_x509crl(chunk_t blob, u_int level0, private_crl_t *crl)
                                        }
                                        else if (extn_oid == OID_AUTHORITY_KEY_ID)
                                        {
-                                               parse_authorityKeyIdentifier(object, level, &crl->authKeyID, &crl->authKeySerialNumber);
+                                               x509_parse_authorityKeyIdentifier(object, level,
+                                                               &crl->authKeyID, &crl->authKeySerialNumber);
                                        }
                                        else if (extn_oid == OID_CRL_NUMBER)
                                        {
index a367c3a..68cc049 100755 (executable)
@@ -18,6 +18,8 @@
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  * for more details.
+ *
+ * RCSID $Id$
  */
 
 #ifndef CRL_H_