diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-20 20:53:38 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-04-20 20:53:38 +0000 |
commit | 08b2d288a1281d672533428fb1d8170dff9e5e08 (patch) | |
tree | 040f1eaa97f5f3c243b67b59a47d7e8742779e42 /src/scepclient/pkcs10.c | |
parent | 09f706ec3e69e1899ba3efb9eaf248f35d5c6aaa (diff) | |
download | strongswan-08b2d288a1281d672533428fb1d8170dff9e5e08.tar.bz2 strongswan-08b2d288a1281d672533428fb1d8170dff9e5e08.tar.xz |
scepclient and pluto use asn1 from libstrongswan
Diffstat (limited to 'src/scepclient/pkcs10.c')
-rw-r--r-- | src/scepclient/pkcs10.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scepclient/pkcs10.c b/src/scepclient/pkcs10.c index d6b53d8d0..6933adaf8 100644 --- a/src/scepclient/pkcs10.c +++ b/src/scepclient/pkcs10.c @@ -26,11 +26,11 @@ #include <arpa/inet.h> #include <freeswan.h> +#include <asn1/asn1.h> #include <asn1/oid.h> #include "../pluto/constants.h" #include "../pluto/defs.h" -#include "../pluto/asn1.h" #include "../pluto/pkcs1.h" #include "../pluto/log.h" #include "../pluto/x509.h" @@ -133,7 +133,7 @@ build_req_info_attributes(pkcs10_t* pkcs10) if (pkcs10->challengePassword.len > 0) { - asn1_t type = is_printablestring(pkcs10->challengePassword) + asn1_t type = asn1_is_printablestring(pkcs10->challengePassword) ? ASN1_PRINTABLESTRING : ASN1_T61STRING; challengePassword = asn1_wrap(ASN1_SEQUENCE, "cm" |