Skip to content

Commit

Permalink
fixup! quic: add quic
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Sep 7, 2021
1 parent 782be1f commit 0529a9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/quic/endpoint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ template <> Maybe<bool> ConfigObject::SetOption<double>(
return Just(false);

CHECK(value->IsNumber());
double val = static_cast<int64_t>(value.As<Number>()->Value());
double val = value.As<Number>()->Value();
config_.get()->*member = val;
return Just(true);
}
Expand Down
7 changes: 2 additions & 5 deletions src/quic/session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
#include "quic/quic.h"
#include "quic/session.h"
#include "quic/stream.h"

#include "crypto/crypto_common.h"
#if OPENSSL_VERSION_MAJOR >= 3
#include "openssl/x509.h"
#else
#include "crypto/x509.h"
#endif
#include "crypto/crypto_x509.h"
#include "aliased_struct-inl.h"
#include "async_wrap-inl.h"
#include "base_object-inl.h"
Expand Down

0 comments on commit 0529a9c

Please sign in to comment.