LCOV - code coverage report
Current view: top level - lib - obsolete.c (source / functions) Hit Total Coverage
Test: GNU Generic Security Service Lines: 0 8 0.0 %
Date: 2010-05-20 Functions: 0 4 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* obsolete.c --- Obsolete GSS-API v1 compatibility mappings.
       2                 :            :  * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010  Simon Josefsson
       3                 :            :  *
       4                 :            :  * This file is part of the Generic Security Service (GSS).
       5                 :            :  *
       6                 :            :  * GSS is free software; you can redistribute it and/or modify it
       7                 :            :  * under the terms of the GNU General Public License as published by
       8                 :            :  * the Free Software Foundation; either version 3 of the License, or
       9                 :            :  * (at your option) any later version.
      10                 :            :  *
      11                 :            :  * GSS is distributed in the hope that it will be useful, but WITHOUT
      12                 :            :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
      13                 :            :  * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
      14                 :            :  * License for more details.
      15                 :            :  *
      16                 :            :  * You should have received a copy of the GNU General Public License
      17                 :            :  * along with GSS; if not, see http://www.gnu.org/licenses or write to
      18                 :            :  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth
      19                 :            :  * Floor, Boston, MA 02110-1301, USA.
      20                 :            :  *
      21                 :            :  */
      22                 :            : 
      23                 :            : #include "internal.h"
      24                 :            : 
      25                 :            : OM_uint32
      26                 :          0 : gss_sign (OM_uint32 * minor_status,
      27                 :            :           gss_ctx_id_t context_handle,
      28                 :            :           int qop_req,
      29                 :            :           gss_buffer_t message_buffer, gss_buffer_t message_token)
      30                 :            : {
      31                 :          0 :   return gss_get_mic (minor_status, context_handle,
      32                 :            :                       (gss_qop_t) qop_req, message_buffer, message_token);
      33                 :            : }
      34                 :            : 
      35                 :            : 
      36                 :            : OM_uint32
      37                 :          0 : gss_verify (OM_uint32 * minor_status,
      38                 :            :             gss_ctx_id_t context_handle,
      39                 :            :             gss_buffer_t message_buffer,
      40                 :            :             gss_buffer_t token_buffer, int *qop_state)
      41                 :            : {
      42                 :          0 :   return gss_verify_mic (minor_status, context_handle, message_buffer,
      43                 :            :                          token_buffer, (gss_qop_t *) qop_state);
      44                 :            : }
      45                 :            : 
      46                 :            : OM_uint32
      47                 :          0 : gss_seal (OM_uint32 * minor_status,
      48                 :            :           gss_ctx_id_t context_handle,
      49                 :            :           int conf_req_flag,
      50                 :            :           int qop_req,
      51                 :            :           gss_buffer_t input_message_buffer,
      52                 :            :           int *conf_state, gss_buffer_t output_message_buffer)
      53                 :            : {
      54                 :          0 :   return gss_wrap (minor_status, context_handle, conf_req_flag,
      55                 :            :                    (gss_qop_t) qop_req,
      56                 :            :                    input_message_buffer, conf_state, output_message_buffer);
      57                 :            : }
      58                 :            : 
      59                 :            : 
      60                 :            : OM_uint32
      61                 :          0 : gss_unseal (OM_uint32 * minor_status,
      62                 :            :             gss_ctx_id_t context_handle,
      63                 :            :             gss_buffer_t input_message_buffer,
      64                 :            :             gss_buffer_t output_message_buffer,
      65                 :            :             int *conf_state, int *qop_state)
      66                 :            : {
      67                 :          0 :   return gss_unwrap (minor_status, context_handle, input_message_buffer,
      68                 :            :                      output_message_buffer, conf_state,
      69                 :            :                      (gss_qop_t *) qop_state);
      70                 :            : }

Generated by: LCOV version 1.8