aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/dsa_sign.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/dsa_sign.cpp')
-rw-r--r--doc/examples/dsa_sign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/dsa_sign.cpp b/doc/examples/dsa_sign.cpp
index 1ef81d424..16b8acd5a 100644
--- a/doc/examples/dsa_sign.cpp
+++ b/doc/examples/dsa_sign.cpp
@@ -62,7 +62,7 @@ int main(int argc, char* argv[])
return 1;
}
- PK_Signer signer(*dsakey, "EMSA1(SHA-1)");
+ PK_Signer signer(*dsakey, get_emsa("EMSA1(SHA-1)"));
DataSource_Stream in(message);
byte buf[4096] = { 0 };