* troubles building from source due to recent changes to libsec
@ 2017-10-10 0:21 mikan
0 siblings, 0 replies; only message in thread
From: mikan @ 2017-10-10 0:21 UTC (permalink / raw)
To: 9front
I had some troubles rebuilding the system after doing a sysupdate today.
The problem was in ape/libsec.h, which didn't have new function definitions
in it.
I lifted appropriate lines from libsec.h and was able to build the system
successfuly:
# HG changeset patch
# User glenda@p9serv
# Date 1507586142 0
# Node ID 8a6a7ec1b88866ae3e0aefaa842497eb54dec180
# Parent dd396956f1331337fb44740f9ae07768f0184a0e
update ape/libsec.h with new function definitions
diff -r dd396956f133 -r 8a6a7ec1b888 sys/include/ape/libsec.h
--- a/sys/include/ape/libsec.h Fri Oct 06 21:00:08 2017 +0200
+++ b/sys/include/ape/libsec.h Mon Oct 09 21:55:42 2017 +0000
@@ -363,6 +363,7 @@
void rsaprivfree(RSApriv*);
RSApub* rsaprivtopub(RSApriv*);
RSApub* X509toRSApub(uchar*, int, char*, int);
+RSApub* asn1toRSApub(uchar*, int);
RSApriv* asn1toRSApriv(uchar*, int);
void asn1dump(uchar *der, int len);
uchar* decodePEM(char *s, char *type, int *len, char **new_s);
@@ -374,6 +375,12 @@
void X509dump(uchar *cert, int ncert);
+mpint* pkcs1padbuf(uchar *buf, int len, mpint *modulus, int blocktype);
+int pkcs1unpadbuf(uchar *buf, int len, mpint *modulus, int blocktype);
+int asn1encodeRSApub(RSApub *pk, uchar *buf, int len);
+int asn1encodedigest(DigestState* (*fun)(uchar*, ulong, uchar*, DigestState*),
+ uchar *digest, uchar *buf, int len);
+
/*
* elgamal
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-10 0:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-10 0:21 troubles building from source due to recent changes to libsec mikan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).