]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
correct interface definition
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 25 Feb 2007 08:15:38 +0000 (08:15 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 25 Feb 2007 08:15:38 +0000 (08:15 -0000)
src/libstrongswan/crypto/ca.c

index c3f707fb0bfa9ec360e4027cee5ef1496b8f1b52..5e1f07515563137ee8f5c526db5a5baebc9bc278 100644 (file)
@@ -323,7 +323,7 @@ ca_info_t *ca_info_create(const char *name, const x509_t *cacert)
        /* public functions */
        this->public.equals = (bool (*) (const ca_info_t*,const ca_info_t*))equals;
        this->public.equals_name = (bool (*) (const ca_info_t*,const char*))equals_name;
-       this->public.add_info = (void (*) (ca_info_t*,ca_info_t*))add_info;
+       this->public.add_info = (void (*) (ca_info_t*,const ca_info_t*))add_info;
        this->public.add_crluri = (void (*) (ca_info_t*,chunk_t))add_crluri;
        this->public.add_ocspuri = (void (*) (ca_info_t*,chunk_t))add_ocspuri;
        this->public.release_info = (void (*) (ca_info_t*))release_info;