bk: 57ed0207Y1_jJclV4oRmSX0NwmVsQA
even if it is very old <perlinger@ntp.org>
- make sure PPS source is alive before processing samples
- improve stability close to the 500ms phase jump (phase gate)
+* Shim X509_get_signature_nid() if needed.
* git author attribution cleanup
* bk ignore file cleanup
even if it is very old <perlinger@ntp.org>
- make sure PPS source is alive before processing samples
- improve stability close to the 500ms phase jump (phase gate)
+* Shim X509_get_signature_nid() if needed
* git author attribution cleanup
* bk ignore file cleanup
INIT_SSL();
}
+
+# if OPENSSL_VERSION_NUMBER < 0x10002000L
+# include <openssl/objects.h>
+# include <openssl/x509.h>
+
+int X509_get_signature_nid(const X509 *x);
+
+int X509_get_signature_nid(const X509 *x)
+{
+ return OBJ_obj2nid(x->sig_alg->algorithm);
+}
+# endif
#endif /* OPENSSL */