Skip to content

Commit 0ce8488

Browse files
committed
Temporary workaround for DMD bug 7127.
1 parent 514322d commit 0ce8488

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deimos/openssl/ssl.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ enum SSL_SESSION_CACHE_MAX_SIZE_DEFAULT = (1024*20);
693693
* supposed to be fixed at 16 bytes so the id will be padded after the callback
694694
* returns in this case. It is also an error for the callback to set the size to
695695
* zero. */
696-
alias ExternC!(int function(const(SSL)* ssl, ubyte* id,
696+
alias ExternC!(int function(/+ FIXME: @@BUG7127@@ const+/ SSL* ssl, ubyte* id,
697697
uint* id_len)) GEN_SESSION_CB;
698698

699699
struct ssl_comp_st {
@@ -1133,7 +1133,7 @@ version(OPENSSL_NO_COMP) {
11331133
* 1 fail if verify fails */
11341134
ExternC!(int function(int ok,X509_STORE_CTX* ctx)) verify_callback; /* fail if callback returns 0 */
11351135

1136-
ExternC!(void function(const(SSL)* ssl,int type,int val)) info_callback; /* optional informational callback */
1136+
ExternC!(void function(/+ FIXME: @@BUG7127@@ const+/ SSL* ssl,int type,int val)) info_callback; /* optional informational callback */
11371137

11381138
int error; /* error bytes to be written */
11391139
int error_code; /* actual code */

0 commit comments

Comments
 (0)