]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
(read_rsa_key): New limit argument in
authorNiels Möller <nisse@lysator.liu.se>
Thu, 7 Nov 2002 08:13:47 +0000 (09:13 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 7 Nov 2002 08:13:47 +0000 (09:13 +0100)
call of rsa_keypair_from_sexp_alist.

Rev: src/nettle/examples/io.c:1.3

examples/io.c

index 5584c1102af43c315990aba33296f30e72d3219b..34d690825a7bec3432b16844be1849173132eb8b 100644 (file)
@@ -175,7 +175,7 @@ read_rsa_key(const char *name,
   if (!length)
     return 0;
 
-  res = rsa_keypair_from_sexp(pub, priv, length, buffer);
+  res = rsa_keypair_from_sexp(pub, priv, 0, length, buffer);
   free(buffer);
 
   return res;