The unified diff between revisions [853c4385..] and [11a5f681..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/alg_id.cpp'

#
#
# patch "src/alg_id.cpp"
#  from [c6f5991a99358ea4ad424f1b2e13aa3a16210784]
#    to [a4419677bfb3b0589e9a150d8bee91170721f06d]
#
============================================================
--- src/alg_id.cpp	c6f5991a99358ea4ad424f1b2e13aa3a16210784
+++ src/alg_id.cpp	a4419677bfb3b0589e9a150d8bee91170721f06d
@@ -1,6 +1,6 @@
 /*************************************************
 * Algorithm Identifier Source File               *
-* (C) 1999-2007 The Botan Project                *
+* (C) 1999-2007 Jack Lloyd                       *
 *************************************************/

 #include <botan/alg_id.h>
@@ -40,7 +40,7 @@ AlgorithmIdentifier::AlgorithmIdentifier

    oid = alg_id;
    if(option == USE_NULL_PARAM)
-      parameters.push_back(DER_NULL, sizeof(DER_NULL));
+      parameters.append(DER_NULL, sizeof(DER_NULL));
    }

 /*************************************************
@@ -53,7 +53,7 @@ AlgorithmIdentifier::AlgorithmIdentifier

    oid = OIDS::lookup(alg_id);
    if(option == USE_NULL_PARAM)
-      parameters.push_back(DER_NULL, sizeof(DER_NULL));
+      parameters.append(DER_NULL, sizeof(DER_NULL));
    }

 /*************************************************