git: 9front

Download patch

ref: 2b271a61bdcbe135098822901686710594c90384
parent: 6beda3053126aa879551fe6640b177400bd45d94
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Oct 6 17:00:08 EDT 2017

ssh: remove extern declarations for pkcs1padbuf() and asn1encodedigest() (now in libsec.h)

--- a/sys/src/cmd/ssh.c
+++ b/sys/src/cmd/ssh.c
@@ -426,11 +426,6 @@
 	return m;
 }
 
-/* libsec */
-extern mpint* pkcs1padbuf(uchar *buf, int len, mpint *modulus, int blocktype);
-extern int asn1encodedigest(DigestState* (*fun)(uchar*, ulong, uchar*, DigestState*),
-	uchar *digest, uchar *buf, int len);
-
 mpint*
 pkcs1digest(uchar *data, int len, RSApub *pub)
 {
--