From 4e080a2dfbf6902378f7755f125e00e65af6fd27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sun, 11 Oct 2009 16:55:32 +0200
Subject: [PATCH] (rsa_keypair_to_sexp): Changed default algorithm name to
 "rsa-pkcs1".

Rev: nettle/rsa2sexp.c:1.3
---
 rsa2sexp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rsa2sexp.c b/rsa2sexp.c
index 8ece86e4..8578ec3f 100644
--- a/rsa2sexp.c
+++ b/rsa2sexp.c
@@ -37,7 +37,7 @@ rsa_keypair_to_sexp(struct nettle_buffer *buffer,
 		    const struct rsa_private_key *priv)
 {
   if (!algorithm_name)
-    algorithm_name = "rsa";
+    algorithm_name = "rsa-pkcs1";
   
   if (priv)
     return sexp_format(buffer,
-- 
GitLab