This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uNr gnupg-2.0.22/g10/gpg.c gnupg-2.0.22-large-keys/g10/gpg.c | |
--- gnupg-2.0.22/g10/gpg.c 2013-10-04 12:32:53.000000000 +0000 | |
+++ gnupg-2.0.22-large-keys/g10/gpg.c 2013-10-26 22:14:18.933010862 +0000 | |
@@ -2050,7 +2050,7 @@ | |
#endif | |
/* Initialize the secure memory. */ | |
- if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0)) | |
+ if (!gcry_control (GCRYCTL_INIT_SECMEM, 131072, 0)) | |
got_secmem = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/xio-openssl.c b/xio-openssl.c | |
index 665430d..b7e95c1 100644 | |
--- a/xio-openssl.c | |
+++ b/xio-openssl.c | |
@@ -912,20 +912,27 @@ int | |
} | |
{ | |
- static unsigned char dh1024_p[] = { | |
- 0xCC,0x17,0xF2,0xDC,0x96,0xDF,0x59,0xA4,0x46,0xC5,0x3E,0x0E, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6d23b7b45581a218cf1fdfd9ef580f3c628ffdbe Mon Sep 17 00:00:00 2001 | |
From: Yawning Angel <yawning@schwanenlied.me> | |
Date: Fri, 27 Mar 2015 14:15:57 +0000 | |
Subject: [PATCH 1/1] (squash) Fixup handle_control_hspost(). | |
* Use C99 to bring variable declarations closer to where they are | |
allocated/initialized. | |
* Don't leak a smartlist_t (args was initialized, and getargs_helper() | |
trampled over it). | |
* Don't leak a rend_encoded_v2_service_descriptor_t when the descriptor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <sys/types.h> | |
#include <sys/xattr.h> | |
#include <errno.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
/* | |
* A quick and dirty test to see if a given file has any Linux capabilities | |
* set. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
# Extract the "improved" key generation code from cryptowrapper.py | |
# and tunnelcrypto.py, as of: a623e25e10e5e96ea1d5b85853b23bea00ee439f | |
from gmpy import mpz, rand | |
DIFFIE_HELLMAN_MODULUS = mpz(0xFFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE65381FFFFFFFFFFFFFFFF) | |
rand('init', 128) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import twisted.trial.unittest | |
import obfsproxy.common.ctr_drbg as ctr_drbg | |
import binascii | |
import math | |
import struct | |
class testCtrDrbg_NIST(twisted.trial.unittest.TestCase): | |
""" |
NewerOlder