diff options
Diffstat (limited to 'src/cert')
-rw-r--r-- | src/cert/certstore/certstor.h | 3 | ||||
-rw-r--r-- | src/cert/pkcs10/pkcs10.cpp | 4 | ||||
-rw-r--r-- | src/cert/x509cert/x509_obj.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/cert/certstore/certstor.h b/src/cert/certstore/certstor.h index aaa46bd4e..374013984 100644 --- a/src/cert/certstore/certstor.h +++ b/src/cert/certstore/certstor.h @@ -50,6 +50,9 @@ class BOTAN_DLL Certificate_Store const MemoryRegion<byte>& key_id) const = 0; }; +/** +* In Memory Certificate Store +*/ class BOTAN_DLL Certificate_Store_Memory : public Certificate_Store { public: diff --git a/src/cert/pkcs10/pkcs10.cpp b/src/cert/pkcs10/pkcs10.cpp index 423c9aaf1..202fd659c 100644 --- a/src/cert/pkcs10/pkcs10.cpp +++ b/src/cert/pkcs10/pkcs10.cpp @@ -175,8 +175,8 @@ std::vector<OID> PKCS10_Request::ex_constraints() const std::vector<std::string> oids = info.get("X509v3.ExtendedKeyUsage"); std::vector<OID> result; - for(u32bit j = 0; j != oids.size(); ++j) - result.push_back(OID(oids[j])); + for(size_t i = 0; i != oids.size(); ++i) + result.push_back(OID(oids[i])); return result; } diff --git a/src/cert/x509cert/x509_obj.h b/src/cert/x509cert/x509_obj.h index 6579565f9..570b00f51 100644 --- a/src/cert/x509cert/x509_obj.h +++ b/src/cert/x509cert/x509_obj.h @@ -88,6 +88,7 @@ class BOTAN_DLL X509_Object * @param out the pipe to write to * @param encoding the encoding to use */ + BOTAN_DEPRECATED("Use BER_encode or PEM_encode") void encode(Pipe& out, X509_Encoding encoding = PEM) const; virtual ~X509_Object() {} |