~ubuntu-branches/ubuntu/raring/mumble/raring

« back to all changes in this revision

Viewing changes to src/mumble/Cert.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Thorvald Natvig, Patrick Matthäi, Thorvald Natvig
  • Date: 2011-02-19 22:58:58 UTC
  • mfrom: (9.1.15 sid)
  • Revision ID: james.westby@ubuntu.com-20110219225858-0xlftrf4z1z4jt9e
Tags: 1.2.3-1
[ Patrick Matthäi ]
* Do not build with non existant libpulse-dev on hurd-i386.

[ Thorvald Natvig ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
528
528
        BIO *mem = NULL;
529
529
        STACK_OF(X509) *certs = sk_X509_new_null();
530
530
        const unsigned char *p;
531
 
        long size;
532
531
        char *data = NULL;
533
532
 
534
533
        if (kp.first.isEmpty())
578
577
                        pkcs = PKCS12_create(SSL_STRING(""), SSL_STRING("Mumble Identity"), pkey, x509, certs, nid, nid, 0, 0, 0);
579
578
 
580
579
                        if (pkcs) {
 
580
                                long size;
581
581
                                mem = BIO_new(BIO_s_mem());
582
582
                                i2d_PKCS12_bio(mem, pkcs);
583
583
                                BIO_flush(mem);