Skip to content

Instantly share code, notes, and snippets.

@pusateri
pusateri / apple_push_client_cert.c
Created March 18, 2015 19:48
libevent SSL client certificate initialization for Apple Push Notifications service connection
static void
init_feedback_service(struct event_base *ev_base, struct evdns_base *dns)
{
int rc;
struct bufferevent *bev;
SSL_CTX *ssl_ctx;
SSL *ssl;
ssl_ctx = SSL_CTX_new(SSLv3_method());

Keybase proof

I hereby claim:

  • I am pusateri on github.
  • I am pusateri (https://keybase.io/pusateri) on keybase.
  • I have a public key whose fingerprint is 2661 0BCA CBFA 3DFE A90D 121D F934 18C5 6652 E60C

To claim this, I am signing this object: