[Pkg-ocaml-maint-commits] [ocaml-ssl] 05/07: Remove patch (applied upstream)
Stéphane Glondu
glondu at moszumanska.debian.org
Tue Jul 18 19:50:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
glondu pushed a commit to branch master
in repository ocaml-ssl.
commit 9d636db40bbce45ec694866dadf0372ecaf469e6
Author: Stephane Glondu <steph at glondu.net>
Date: Tue Jul 18 21:43:54 2017 +0200
Remove patch (applied upstream)
---
...Use-accessor-functions-for-X509_STORE_CTX.patch | 35 ----------------------
debian/patches/series | 1 -
2 files changed, 36 deletions(-)
diff --git a/debian/patches/0001-Use-accessor-functions-for-X509_STORE_CTX.patch b/debian/patches/0001-Use-accessor-functions-for-X509_STORE_CTX.patch
deleted file mode 100644
index 7771d85..0000000
--- a/debian/patches/0001-Use-accessor-functions-for-X509_STORE_CTX.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Samuel Mimram <smimram at gmail.com>
-Date: Thu, 3 Nov 2016 00:41:56 +0100
-Subject: Use accessor functions for X509_STORE_CTX
-
- Upstream: https://github.com/savonet/ocaml-ssl/commit/e49b6a741ac7a86057acb7bdef609e67491b292e
----
- src/ssl_stubs.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/ssl_stubs.c b/src/ssl_stubs.c
-index 1b175fa..b8781ef 100644
---- a/src/ssl_stubs.c
-+++ b/src/ssl_stubs.c
-@@ -656,7 +656,7 @@ CAMLprim value ocaml_ssl_get_cipher_name(value vcipher)
-
- CAMLprim value ocaml_ssl_get_cipher_version(value vcipher)
- {
-- char *version;
-+ const char *version;
- SSL_CIPHER *cipher = (SSL_CIPHER*)vcipher;
-
- caml_enter_blocking_section();
-@@ -1228,9 +1228,9 @@ static int client_verify_callback(int ok, X509_STORE_CTX *ctx)
- int depth, error;
- char *xs;
-
-- depth = ctx->error_depth;
-- error = ctx->error;
-- xs = (char *)X509_STORE_CTX_get_current_cert(ctx);
-+ depth = X509_STORE_CTX_get_error_depth(ctx);
-+ error = X509_STORE_CTX_get_error(ctx);
-+ xs = (char*)X509_STORE_CTX_get_current_cert(ctx);
-
- subject = issuer = NULL;
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 195b265..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Use-accessor-functions-for-X509_STORE_CTX.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-ssl.git
More information about the Pkg-ocaml-maint-commits
mailing list