File: 580-recent_libssl.diff

package info (click to toggle)
linux-ftpd-ssl 0.17.36%2Breally0.17-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: ansic: 3,875; yacc: 1,379; sh: 52; makefile: 50
file content (20 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Make possible builds with libssl of version 1.1.0.
 Protected access to an opaque structure was made mandatory
 in version 1.1.0 of libssl.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: not-needed
Last-Update: 2017-01-16

--- linux-ftpd-0.17.debian/ftpd/ftpd.c	2016-12-25 23:10:18.631245308 +0100
+++ linux-ftpd-0.17/ftpd/ftpd.c	2017-01-16 21:10:30.207457125 +0100
@@ -3572,8 +3572,8 @@
     int depth,error;
     X509 *xs;
 
-    depth=ctx->error_depth;
-    error=ctx->error;
+    depth = X509_STORE_CTX_get_error_depth(ctx);
+    error = X509_STORE_CTX_get_error(ctx);
     xs=X509_STORE_CTX_get_current_cert(ctx);
 
     /*