security/nss/lib/ssl/prelib.c

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/security/nss/lib/ssl/prelib.c	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil -*- */
     1.5 +
     1.6 +/*
     1.7 + * Functions used by https servers to send (download) pre-encrypted files
     1.8 + * over SSL connections that use Fortezza ciphersuites.
     1.9 + *
    1.10 + * This Source Code Form is subject to the terms of the Mozilla Public
    1.11 + * License, v. 2.0. If a copy of the MPL was not distributed with this
    1.12 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
    1.13 +
    1.14 +#include "cert.h"
    1.15 +#include "ssl.h"
    1.16 +#include "keyhi.h"
    1.17 +#include "secitem.h"
    1.18 +#include "sslimpl.h"
    1.19 +#include "pkcs11t.h"
    1.20 +#include "preenc.h"
    1.21 +#include "pk11func.h"
    1.22 +
    1.23 +PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *inHeader, 
    1.24 +				       int *headerSize)
    1.25 +{
    1.26 +    PORT_SetError(PR_NOT_IMPLEMENTED_ERROR);
    1.27 +    return NULL;
    1.28 +}
    1.29 +
    1.30 +PEHeader *SSL_PreencryptedFileToStream(PRFileDesc *fd, PEHeader *header, 
    1.31 +							int *headerSize)
    1.32 +{
    1.33 +    PORT_SetError(PR_NOT_IMPLEMENTED_ERROR);
    1.34 +    return NULL;
    1.35 +}
    1.36 +
    1.37 +

mercurial