Skip to content
Snippets Groups Projects
Select Git revision
  • chacha96
  • master default
  • support_pre_UAL_arm_asm
  • skein
  • rsa-crt-hardening
  • fat-library
  • versioned-symbols
  • curve25519
  • dsa-reorg
  • aead-api
  • set_key-changes
  • poly1305
  • aes-reorg
  • nettle-2.7-fixes
  • size_t-changes
  • ecc-support
  • experimental-20050201
  • lsh-1.4.2
  • nettle_3.3_release_20161001
  • nettle_3.2_release_20160128
  • nettle_3.1.1_release_20150424
  • nettle_3.1_release_20150407
  • nettle_3.1rc3
  • nettle_3.1rc2
  • nettle_3.1rc1
  • nettle_3.0_release_20140607
  • nettle_2.7.1_release_20130528
  • nettle_2.7_release_20130424
  • nettle_2.6_release_20130116
  • nettle_2.5_release_20120707
  • converted-master-branch-to-git
  • nettle_2.4_release_20110903
  • nettle_2.3_release_20110902
  • nettle_2.2_release_20110711
  • nettle_2.1_release_20100725
  • camellia_32bit_20100720
  • nettle_2.0_release_20090608
  • nettle_1.15_release_20061128
38 results

cast128-meta.c

Blame
  • Forked from Nettle / nettle
    Source project has a limited visibility.
    query.cgi 26.21 KiB
    #!/usr/bonsaitools/bin/perl -w
    # -*- Mode: perl; indent-tabs-mode: nil -*-
    #
    # The contents of this file are subject to the Mozilla Public
    # License Version 1.1 (the "License"); you may not use this file
    # except in compliance with the License. You may obtain a copy of
    # the License at http://www.mozilla.org/MPL/
    #
    # Software distributed under the License is distributed on an "AS
    # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
    # implied. See the License for the specific language governing
    # rights and limitations under the License.
    #
    # The Original Code is the Bugzilla Bug Tracking System.
    #
    # The Initial Developer of the Original Code is Netscape Communications
    # Corporation. Portions created by Netscape are
    # Copyright (C) 1998 Netscape Communications Corporation. All
    # Rights Reserved.
    #
    # Contributor(s): Terry Weissman <terry@mozilla.org>
    #                 David Gardiner <david.gardiner@unisa.edu.au>
    #                 Matthias Radestock <matthias@sorted.org>
    
    use diagnostics;
    use strict;
    
    require "CGI.pl";
    
    $::CheckOptionValues = 0;       # It's OK if we have some bogus things in the
                                    # pop-up lists here, from a remembered query
                                    # that is no longer quite valid.  We don't
                                    # want to crap out in the query page.
    
    # Shut up misguided -w warnings about "used only once":
    
    use vars
      @::CheckOptionValues,
      @::legal_resolution,
      @::legal_bug_status,
      @::legal_components,
      @::legal_keywords,
      @::legal_opsys,
      @::legal_platform,
      @::legal_priority,
      @::legal_product,
      @::legal_severity,
      @::legal_target_milestone,
      @::legal_versions,
      @::log_columns,
      %::versions,
      %::components,
      %::FORM;
    
    
    if (defined $::FORM{"GoAheadAndLogIn"}) {
        # We got here from a login page, probably from relogin.cgi.  We better
        # make sure the password is legit.
        confirm_login();
    } else {
        quietly_check_login();
    }
    my $userid = 0;
    if (defined $::COOKIE{"Bugzilla_login"}) {
        $userid = DBNameToIdAndCheck($::COOKIE{"Bugzilla_login"});
    }
    
    # Backwards compatability hack -- if there are any of the old QUERY_*
    # cookies around, and we are logged in, then move them into the database
    # and nuke the cookie.