capi_util.cc 397 B

1234567891011121314151617181920
  1. // Copyright (c) 2011 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "crypto/capi_util.h"
  5. #include <stddef.h>
  6. #include <stdlib.h>
  7. namespace crypto {
  8. void* WINAPI CryptAlloc(size_t size) {
  9. return malloc(size);
  10. }
  11. void WINAPI CryptFree(void* p) {
  12. free(p);
  13. }
  14. } // namespace crypto